import { CredentialResolver } from '../auth/credentials.js'; export type ComposioBackend = { id: string; mode: 'managed' | 'byok'; label: string; credential_ref: string | null; credential_source: 'stored' | 'environment'; verified_at: string | null; active: number; created_at: string; }; export declare function listComposioBackends(): ComposioBackend[]; export declare function getComposioBackend(id?: string): ComposioBackend | undefined; export declare function addComposioBackend(input: { id?: string; mode: 'managed' | 'byok'; label: string; credentialRef?: string; credentialSource?: 'stored' | 'environment'; }): ComposioBackend; export declare function activateComposioBackend(id: string): void; export declare function removeComposioBackend(id: string, resolver?: CredentialResolver): Promise; /** Bootstrap once; subsequent routing always uses the explicitly selected backend. */ export declare function ensureComposioBackend(resolver?: CredentialResolver): Promise; export declare function resolveBackendKey(backend: ComposioBackend, resolver?: CredentialResolver): Promise; export declare function markComposioBackendVerified(id: string): void;