import type { ErrorHandlerOptions } from './core/errorHandler.js'; import type { Block } from '@/types/pug'; export interface TransformOptions extends ErrorHandlerOptions { debug?: boolean; output?: 'ast' | 'html' | 'pug-code'; htmlOptions?: { pretty?: boolean; compileDebug?: boolean; doctype?: string; }; basedir?: string; basePath?: string; data?: Record; dataKey?: string; validation?: { scopeIsolation?: 'error' | 'warn' | 'off'; allowedGlobals?: string[]; }; } export interface TransformResult { ast?: Block; html?: string; code?: string; } export declare function transform(source: string, options?: TransformOptions): TransformResult; //# sourceMappingURL=transform.d.ts.map