/** * The routing profiles the Copilot runtime accepts for an Auto session, cheapest first. These are * the wire values of its `capi.autoTier` option; the retired `eco`/`balanced`/`max` names are rejected. */ export declare const autoModeTiers: readonly [ "efficiency", "balance", "intelligence" ]; export type AutoModeTier = typeof autoModeTiers[number]; export type AutoModeRoutingTier = AutoModeTier | "fast"; /** Provider-owned model configuration provenance; absent on older clients and restored legacy choices. */ export declare const AutoTierSourceConfigKey = "tierSource"; /** Reads the supported scalar startup default; runtime policy objects are not interpreted here. */ export declare function parseManagedAutoTierDefault(value: unknown): AutoModeTier | undefined; export declare function isAutoModeRoutingTier(value: unknown): value is AutoModeRoutingTier; export declare function isInheritedAutoTier(configuration: Readonly> | undefined): boolean; /** A choice carried into another conversation is a preference there, not a new explicit selection. */ export declare function inheritAutoTierConfiguration(configuration: Record | undefined): Record | undefined; /** The profile used when the user has not picked one. Also the picker's default. */ export declare const defaultAutoModeTier: AutoModeTier; /** Narrows an untrusted value, such as a persisted picker selection, to a profile the runtime accepts. */ export declare function isAutoModeTier(value: unknown): value is AutoModeTier; export declare const DynamicAutoTiersFeatureFlag = "DYNAMIC_AUTO_TIERS"; /** * `undefined` means no provider metadata, so the built-in tiers apply; `[]` accepts nothing. `fusion` records * whether the provider's tiers present Auto as Fusion. */ export declare function setAdvertisedAutoModeTiers(tiers: Iterable | undefined, fusion?: boolean): void; /** Whether the provider's advertised tiers present Auto as Fusion. */ export declare function isAutoAdvertisedAsFusion(): boolean; export declare function isSupportedAutoModeTier(value: unknown): value is string; export declare function getSupportedAutoModeTiers(): readonly string[]; /** Maps retired picker and override values to the current runtime names, matching the Copilot extension. */ export declare function normalizeAutoModeTier(value: unknown): unknown; /** * Localized picker label for a routing profile, capitalizing an unrecognized value so a new profile * never surfaces raw. Wording matches the extension's `getAutoModeTierLabel`, which cannot be imported here. */ export declare function getAutoModeTierLabel(tier: string): string; /** Localized picker label for a routing profile when Auto is presented as Copilot Fusion, which names the balance tier Standard, HydraFusion High, and HydraFusion Max Max. */ export declare function getFusionAutoModeTierLabel(tier: string): string; /** Localized picker description, or nothing for an unrecognized value so callers can omit it. */ export declare function getAutoModeTierDescription(tier: string): string | undefined;