/**
 * parse-dts-exports — pure function that extracts the public surface of a
 * single `.d.ts` file as a list of top-level exported binding names plus
 * any `export * from "./relative"` re-export specifiers.
 *
 * Implementation: delegates to `oxc-parser`'s `staticExports` view, which
 * already decomposes each export statement into entries with `importName` /
 * `exportName` / `moduleRequest` discriminators. We translate that view
 * into the two outputs the W0198 preflight cares about — bare names and
 * wildcard re-export specifiers — and drop default exports per the
 * design's "named-bindings only" rule.
 *
 * Why oxc-parser instead of regex: top-level `.d.ts` syntax has enough TS
 * surface area (declaration merging, conditional `exports` map types,
 * ambient namespace augmentation) that a real AST is cheaper to maintain
 * than a regex with the same coverage. Why oxc-parser instead of
 * `typescript`: typescript isn't in `@sanity/ailf`'s runtime install graph
 * and adding it adds ~50MB; oxc-parser is a few-MB native binary aligned
 * with our existing `oxlint` / `oxfmt` toolchain.
 */
export interface ParsedDtsExports {
    /** Bare exported identifier names found in this file. */
    readonly names: readonly string[];
    /**
     * Specifiers from `export * from "<spec>"` declarations. Only relative
     * specifiers (starting with `.`) are useful for one-hop following; the
     * caller decides which to resolve.
     */
    readonly reExports: readonly string[];
}
export declare function parseDtsExports(src: string): ParsedDtsExports;
