import type { ProviderKey } from "./router.js"; export type ProviderSecretRequirement = { secretId: string; envName: string; }; export type ProviderAuthCommand = { command: Array; }; export type ProviderDestinationRequirement = { url: string; }; export type ProviderImportedSecretSource = { jsonPath: string; kind: "json-file"; path: string; }; export type ProviderRuntimeAuthStateSource = { kind: "json-file"; path: string; }; export type ProviderStorageAuthority = "bfdesktop"; export type ProviderAttachmentAuthority = "bfdesktop-mitm" | "runtime-env-placeholder"; export type ProviderDestinationScope = "declared-destinations"; type BaseProviderAuthRequirements = { attachmentAuthority: ProviderAttachmentAuthority; destinationScope: ProviderDestinationScope; storageAuthority: ProviderStorageAuthority; }; export type SecretProviderAuthRequirements = BaseProviderAuthRequirements & { mode: "secret"; secrets: Array; }; export type ChatgptAuthTokensProviderAuthRequirements = BaseProviderAuthRequirements & { mode: "chatgpt-auth-tokens"; }; export type ProviderAuthRequirements = SecretProviderAuthRequirements | ChatgptAuthTokensProviderAuthRequirements; export type ProviderRegistryEntry = { key: ProviderKey; entrypoint: string; routingPrefix: string; bareAlias?: string; }; export type ProviderManifest = { version: string; provider: ProviderRegistryEntry; auth?: ProviderAuthRequirements; destinations: Array; }; export declare function getProviderManifests(): Array; export declare function getProviderManifest(provider: ProviderKey): ProviderManifest | null; export declare function getProviderRegistryEntries(): Array; export {}; //# sourceMappingURL=manifest.d.ts.map