/** * Canonical, ordered list of the AI page sub-tabs. * * Single source of truth for two consumers that must never disagree: * - `pages/ai/AIPage.tsx` — renders the tab bar and resolves `:tab`. * - `VibeControlsRoutes.tsx` — maps legacy `/ai-tools/` deep links * onto the current `/ai-tools/ai/` shape. * * These were previously two hand-maintained lists. The route-side copy fell * behind and was missing `instructions` and `queue`, so those legacy deep * links silently redirected to the AI overview instead of the requested tab — * a failure with no error to notice. Deriving both from this array makes that * class of drift impossible. * * Order matters: it is the left-to-right order of the tab bar. */ export declare const AI_TAB_IDS: readonly ["overview", "templates", "contexts", "prompts", "instructions", "sessions", "queue", "tasks", "stats", "playground", "ai-keys", "bridle", "config"]; export type AITab = (typeof AI_TAB_IDS)[number]; /** Membership set for resolving an untrusted `:tab` route param. */ export declare const AI_TAB_ID_SET: ReadonlySet; /** Narrow an arbitrary route param to a known tab id. */ export declare function isAITab(value: string | undefined): value is AITab;