import { type TreeLayout } from '../config'; export { parseOperationLabel, suggestOperationTitles, suggestOperationTitleResult, formatTestTitle } from './test-title'; export { isValidItCase, suggestItCases, docsScenarioClause, parseCaseSection, type CaseSection } from './it-case'; export type { TreeLayout }; export type FieldDoc = { name: string; in: 'path' | 'query' | 'header' | 'body'; type: string; required?: boolean; }; export type OperationDoc = { title: string; fields: FieldDoc[]; }; export declare const STATUS_TEXT: Record; export declare function declaredMethods(test?: string): string[] | null; export declare function pathSegments(pathTemplate: string): string[]; /** * Sidebar / export-tag folder segments for a path. * Honors treeLayout, treeSkipParams, and per-path overrides. */ export declare function treePathSegments(pathTemplate: string): string[]; export declare function viewerTreeConfig(): { workspace: string; baseUrl: string; docsPath: string; treeLayout: TreeLayout; treeSkipParams: boolean; treeCollapseSingle: boolean; treePathOverrides: Record; exampleLabelStyle: "status-case" | "status-title-case" | "full"; envPresets: Record | undefined; }; export declare function operationTag(pathTemplate: string, method: string): string; export declare function defaultTitle(method: string, pathTemplate: string): string; export declare const CASE_GROUP_ORDER: string[]; export declare function caseGroup(test?: string): string; export declare function caseSectionLabel(test?: string): string; /** * Human-readable API title from Jest test name, e.g. * "Admin Find One Basket By Id API". */ export declare function apiTitle(test?: string): string | undefined; export declare function caseName(test?: string): string; export type ExampleLabelHit = { status: number; method: string; path: string; test?: string; }; /** OpenAPI example summary / scenario display name. */ export declare function exampleLabel(hit: ExampleLabelHit): string; /** Prefer human API title from hits; else path. */ export declare function operationSummary(method: string, pathTemplate: string, tests: Array): string;