import type { FileExportRow, FileImportRow, ScriptFunc } from "../../types";
import { type InvokeCollectOptions } from "./invokeCollection";
export declare function lineNumberAtOffsetInSource(source: string, offset: number): number;
export declare function scriptContentStartLineInVueFile(fullVueSource: string, scriptBlock: {
    loc?: {
        start?: {
            line?: number;
            offset?: number;
        };
    };
}, scriptInnerContent: string): number;
export declare function extractImports(ast: any, filePath: string, contentLines: Array<string>, isTypeScript: boolean, scriptLineBase?: number): Promise<Array<FileImportRow>>;
export declare function extractExports(ast: any, filePath: string, contentLines: Array<string>, isTypeScript: boolean, scriptLineBase?: number): Promise<Array<FileExportRow>>;
export declare function extractScriptFunc(ast: any, filePath: string, contentLines: Array<string>, isTypeScript: boolean, scriptLineBase?: number, scriptSource?: string, invokeCollectOpts?: InvokeCollectOptions): Promise<ScriptFunc>;
