import Attributor from './attributor/attributor';
import { Blot } from './blot/abstract/blot';
export interface BlotConstructor {
    blotName: string;
    new (node: Node, value?: any): Blot;
    create(value?: any): Node;
}
export declare class ParchmentError extends Error {
    message: string;
    name: string;
    stack: string;
    constructor(message: any);
}
export declare const DATA_KEY = "__blot";
export declare enum Scope {
    TYPE = 3,
    LEVEL = 12,
    ATTRIBUTE = 13,
    BLOT = 14,
    INLINE = 7,
    BLOCK = 11,
    BLOCK_BLOT = 10,
    INLINE_BLOT = 6,
    BLOCK_ATTRIBUTE = 9,
    INLINE_ATTRIBUTE = 5,
    ANY = 15,
}
export declare function create(input: Node | string | Scope, value?: any): Blot;
export declare function find(node: Node, bubble?: boolean): Blot;
export declare function query(query: string | Node | Scope, scope?: Scope): Attributor | BlotConstructor;
export declare function register(...Definitions: any[]): any;
