import type { TextRange } from '../types'; import type * as ts from 'typescript'; export interface ScriptRanges extends ReturnType { } export declare function parseScriptRanges(ts: typeof import('typescript'), ast: ts.SourceFile, hasScriptSetup: boolean, withNode: boolean): { exportDefault: (TextRange & { expression: TextRange; args: TextRange; argsNode: ts.ObjectLiteralExpression | undefined; componentsOption: TextRange | undefined; componentsOptionNode: ts.ObjectLiteralExpression | undefined; nameOption: TextRange | undefined; }) | undefined; bindings: TextRange[]; };