import { type ModelType, type Provider } from "@earendil-works/pi-ai";
import { type RemoteCatalogConflict } from "./remote-catalog-merge.ts";
export declare const REMOTE_CATALOG_REFRESH_INTERVAL_MS: number;
/**
 * Model types this client can consume. Sent as `?types=` so the catalog server
 * returns the full-type shard instead of the chat-only one served to clients
 * that predate model types. A server that ignores the parameter still returns
 * the chat-only shard, which this client handles unchanged.
 */
export declare const REMOTE_CATALOG_MODEL_TYPES: readonly ModelType[];
/**
 * Builtin providers that exist only in this fork. Upstream's pi.dev catalog does
 * not serve them and answers with a non-404 failure, which becomes a chronic
 * per-refresh "Could not refresh <id>" warning (transient failures never persist
 * lastModified, so the freshness throttle below never engages for them).
 */
export declare const FORK_ONLY_BUILTIN_PROVIDERS: ReadonlySet<string>;
/**
 * Whether the remote catalog overlay can serve a provider. Fork-only providers
 * are skipped under the default upstream catalog base URL; a custom base URL (a
 * fork-owned catalog) may serve them, so the wrap is preserved there.
 */
export declare function remoteCatalogServesProvider(providerId: string, catalogBaseUrl?: string): boolean;
/** Return capability conflicts rejected from a provider's remote overlay. */
export declare function getRemoteCatalogConflicts(provider: Provider): readonly RemoteCatalogConflict[];
/** Add a persisted pi.dev catalog overlay to a static built-in provider. */
export declare function withRemoteCatalog(provider: Provider, catalogBaseUrl?: string, localGeneratedAt?: number): Provider;
//# sourceMappingURL=remote-catalog-provider.d.ts.map