/** pi-ai credential storage backed by the Harness credential-reference seam. */ import type { Credential, CredentialInfo as PiCredentialInfo, CredentialStore } from '@earendil-works/pi-ai'; import type { CredentialProvider, CredentialRef } from '@deepseek-ai/dsh-credentials'; /** Provider id owned by this plugin. */ export declare const CODEX_PROVIDER = "openai-codex"; /** Adapt one Harness credential reference to pi-ai's provider-keyed store. */ export declare class CodexCredentialStore implements CredentialStore { private readonly credentials; private readonly ref; private tail; constructor(credentials: CredentialProvider, ref: CredentialRef); /** Read and validate the stored OAuth credential. */ read(providerId: string): Promise; /** List non-secret credential metadata for pi-ai status checks. */ list(): Promise; private serialized; /** Serialize a pi-ai refresh or login write through the Harness provider. */ modify(providerId: string, fn: (current: Credential | undefined) => Promise): Promise; /** Remove the stored Codex OAuth credential after earlier writes settle. */ delete(providerId: string): Promise; }