import type Parser from 'tree-sitter';
/**
 * Parse `sourceText` safely on every platform. See {@link SAFE_PARSE_CHUNK_CHARS}
 * for the underlying tree-sitter binding bug this works around.
 */
export declare function parseSourceSafe(parser: Parser, sourceText: string, oldTree?: Parser.Tree, options?: Parser.Options): Parser.Tree;
