import { type IControllerCodexProfileDocument, type IControllerCodexMappingDocument } from './classes.codexconnectionmodels.js'; import type { IControllerCodexProfile } from '../dist_ts_interfaces/index.js'; /** Profile endpoints are immutable. Only names, encrypted credentials and retirement may change. */ export declare class ControllerCodexConnectionStore { readonly issuerId: string; private mutationTail; private closed; constructor(issuerId: string); stableId(kindArg: string): string; publicProfile(profileArg: IControllerCodexProfileDocument): IControllerCodexProfile; list(): Promise; get(idArg: string): Promise; create(inputArg: { id?: string; name: string; serverUrl?: string; token?: string; }): Promise; update(idArg: string, inputArg: { name?: string; token?: string | null; retire?: true; expectedCredentialRevision: number; }): Promise; mapping(projectIdArg: string): Promise; setMapping(projectIdArg: string, profileIdArg: string, remoteDirectoryArg: string): Promise; token(profileArg: IControllerCodexProfileDocument): Promise; private seal; private assertToken; private credentialName; private mutate; close(): Promise; }