import { bsElement } from './element';
declare enum Events {
    attributes = "attributes",
    end = "end",
    expression = "expression",
    style = "style",
    text = "text",
    tag = "newTag"
}
export declare class Parser {
    private string;
    private callbacks;
    constructor(string: string);
    on(type: Events, callback: <T, O>(data: T, options?: O) => void): void;
    private notify;
    private discoverChilds;
    private discoverElement;
    toElements(): Promise<bsElement>;
}
export {};
//# sourceMappingURL=parser.d.ts.map