import { CredentialListFilter, CredentialRecord, CredentialStore } from './types'; export interface HttpCredentialStoreOptions { /** Base URL without trailing slash, e.g. "https://api.robinpath.com". */ baseUrl: string; /** Bearer token for the user's session. */ token: string; /** Override fetch (for tests). */ fetchImpl?: typeof fetch; /** Cache TTL in ms. Default 60_000. Set to 0 to disable. */ cacheTtlMs?: number; } export declare class HttpCredentialStore implements CredentialStore { private readonly baseUrl; private readonly token; private readonly fetchImpl; private readonly cacheTtlMs; private readonly getCache; constructor(options: HttpCredentialStoreOptions); get(slug: string): Promise | null>; list(filter?: CredentialListFilter): Promise[]>; set(slug: string, type: string, fields: Record): Promise; delete(slug: string): Promise; private cacheSet; private request; private httpError; }