export type CaseSection = 'positive' | 'semantic' | 'invalid' | 'omitted' | 'auth'; export declare function parseCaseSection(raw?: string): CaseSection | undefined; export declare function isDynamicItName(name?: string): boolean; export declare function isGenericItName(name?: string): boolean; export declare function isValidItCase(name?: string): boolean; /** * Keep the unique clause from `should …` / existing it() text. * Never collapse many cases into one generic sentence. */ export declare function rewriteItFromOriginal(raw: string, section?: CaseSection, method?: string, pathTemplate?: string): string | undefined; /** * Docs / Postman example line: the unique condition only. * Ideal: `creates mock tbs when cyprus payload shape` → `cyprus payload shape`. * Parametric: `should set TR companyName when value mode is sent` → * `TR companyName when value mode is sent` (keep pre-when context so labels stay unique). */ export declare function docsScenarioClause(raw?: string): string; export type ItSuggestion = { names: string[]; /** Safe for --yes / `a` — rewritten from this case's own text. */ auto: boolean; }; /** * Prefer a unique rewrite of the current it() name. * Generic section templates are never auto-applied. */ export declare function suggestItCases(section: CaseSection | undefined, method?: string, pathTemplate?: string, original?: string): string[]; export declare function suggestItCaseResult(section: CaseSection | undefined, method?: string, pathTemplate?: string, original?: string): ItSuggestion;