import type { Registry } from './schema'; /** Every top-level heading the sidebar has, read from the story files: the first segment of each title. */ export declare function sidebarHeadings(root: string): Set; /** The top-level headings of Storybook's own index (`storybook index`): the first segment of every entry's title. */ export declare function indexHeadings(entries: Record): Set; /** The headings the preview orders — a `HEADINGS` list or `storySort: { order: [...] }` — or null when it keeps no order. */ export declare function orderedHeadings(previewText: string): string[] | null; /** * The headings the Introduction names: a table row that opens with a bold name, * or a bullet that opens with bold names joined by " · ". */ export declare function introductionHeadings(introText: string): Set; /** The number the Introduction states, or null when it states none. */ export declare function introductionCount(introText: string): number | null; /** * What is wrong with the repository's hand-written map of its Storybook; empty * when nothing is. `real` is the sidebar's top-level headings from Storybook's * index, when the caller has it; `registry` is needed only for an app's count. */ export declare function storyMapProblems(root: string, { registry, real }?: { registry?: Registry; real?: Set; }): string[]; //# sourceMappingURL=storymap.d.ts.map