import type { SchemaAttribute } from '@markdoc/markdoc';
import type { Config } from './config.js';
export declare function transformer({ content, filename, nodes_file, tags_file, partials_dir, layouts, generate_schema, config, validation_threshold, allow_comments, highlighter, }: {
    content: string;
    filename: string;
    nodes_file: Config['nodes'];
    tags_file: Config['tags'];
    partials_dir: Config['partials'];
    layouts: Config['layouts'];
    generate_schema: Config['generateSchema'];
    config: Config['config'];
    validation_threshold: Config['validationThreshold'];
    allow_comments: Config['allowComments'];
    highlighter: Config['highlighter'];
}): Promise<string>;
export declare function create_module_context(frontmatter: Record<string, string>, filter_layout?: boolean): string;
export declare function get_component_vars(path: string, layout: string): Record<string, SchemaAttribute>;
export declare function sanitize_for_svelte(content: string): string;
//# sourceMappingURL=transformer.d.ts.map