/** * A models.json provider block is a *definition* (a user-defined provider) when it declares both a * protocol and its own models. A bare `baseUrl` (optionally with `compat`) is the override cortex * writes to route a PI built-in through the gateway — PI already knows those providers. */ export declare function isCustomProviderEntry(entry: unknown): entry is Record; /** Every `providers.*` block in the catalog, or an empty map when the file is absent or broken. */ export declare function readProvidersBlock(modelsPath: string): Record; /** Only the user-defined providers, keyed by name. */ export declare function readCustomProviderEntries(modelsPath: string): Record>;