import type { Diagnostic } from '../diagnostics/index.js'; export interface ImportResult { /** The OpenScript text, or the empty string where nothing could be translated. */ readonly source: string; /** Every finding, positioned in the imported text, in the order a reader walks it. */ readonly findings: readonly Diagnostic[]; } export interface ImportOptions { /** What the imported text is called, for the first line of a rendered finding. */ readonly name?: string; } export declare function importScript(text: string, options?: ImportOptions): ImportResult; //# sourceMappingURL=importer.d.ts.map