import type ts from 'typescript'; export declare function collectWxsModuleNames(templateContent?: string): string[]; export declare function createWxsModuleDeclarations(moduleNames: string[]): string; export declare function appendWxsDeclarations(code: string, moduleNames: string[]): string; export declare function appendScriptSetupDeclarations(code: string, declarations: string): string; export declare function createSyntheticScriptSetup(moduleNames: string[]): { type: string; content: string; loc: { source: string; start: { column: number; line: number; offset: number; }; end: { column: number; line: number; offset: number; }; }; attrs: { setup: boolean; lang: string; }; lang: string; setup: boolean; name: string; } | undefined; export declare function syncScriptBlockSource(block: { content: string; attrs?: Record; loc: { source: string; }; } | null | undefined): void; export declare function createDefineOptionsTemplateDeclarations(code: string, tsModule: typeof ts, lang: string): string; export declare function resolveScriptSetupLang(lang?: string): "js" | "ts";