/** * OpenAPI command path shapes — canonical dispatcher vs legacy alias. * * Binding: `docs/internal/plans/2026-07-17-command-api-surface-boundary.md` * Canonical write path: `POST {basePath}/manifest/{entity}/commands/{command}` * Legacy (deprecated alias): `POST {basePath}/{entity}/{command-kebab}` */ export type OpenApiCommandPathStyle = 'legacy' | 'dispatcher' | 'both'; export type OpenApiCommandPathKind = 'dispatcher' | 'legacy'; export interface OpenApiCommandPathEntry { path: string; kind: OpenApiCommandPathKind; } /** * Resolve command path style. Default `both` so OpenAPI documents the * canonical dispatcher and keeps the legacy alias (deprecated). */ export declare function resolveCommandPathStyle(style: OpenApiCommandPathStyle | undefined): OpenApiCommandPathStyle; /** * Concrete OpenAPI paths for one command (entity/command segments already * lowercased / kebab-cased). */ export declare function buildCommandPathEntries(basePath: string, entitySegment: string, commandSegment: string, style: OpenApiCommandPathStyle): OpenApiCommandPathEntry[]; /** Unique operationId: canonical on dispatcher; `…Legacy` on the alias. */ export declare function commandOperationId(baseOperationId: string, kind: OpenApiCommandPathKind): string; //# sourceMappingURL=command-paths.d.ts.map