export declare function setErrorLogger(logger: (message: string, data?: any) => void): void;
export declare function disableErrorLogging(): void;
export declare function enableErrorLogging(): void;
export declare function stripComments(text: string): string;
export declare function parse(s: string | undefined | null): any;
export declare namespace parse {
    let lastParseReminding: string | undefined;
    let onExtraToken: (text: string, data: any, reminding: string) => void | undefined;
}
