export type AuthScheme = "bearer" | "api-key-header" | "basic"; export interface ConnectorRecord { baseUrl: string; host: string; authScheme: AuthScheme; /** Required when authScheme is "api-key-header"; the header the credential is sent in. */ headerName?: string; } type Registry = Record; type Secrets = Record; export declare function readRegistry(platformRoot: string, accountId: string): Registry; export declare function readSecrets(platformRoot: string, accountId: string): Secrets; export declare function registerConnector(platformRoot: string, accountId: string, name: string, rec: ConnectorRecord, secret: string): void; /** Remove a connector from both files. Returns whether it existed in either. */ export declare function deregisterConnector(platformRoot: string, accountId: string, name: string): boolean; export declare function resolveConnector(platformRoot: string, accountId: string, name: string): { rec: ConnectorRecord; secret: string; } | null; export declare function listConnectors(platformRoot: string, accountId: string): { name: string; baseUrl: string; }[]; export {}; //# sourceMappingURL=store.d.ts.map