/** * A credential whose local authorization has already been withdrawn but whose server-side * revocation has not yet been confirmed. Local disablement must never wait on this succeeding. */ export interface QueuedRevocation { version: 1; serviceOrigin: string; credential: string; } export interface RevocationQueueStore { load(): Promise; replace(value: QueuedRevocation): Promise; clear(): Promise; } export declare class FileRevocationQueueStore implements RevocationQueueStore { private readonly filePath; constructor(filePath: string); load(): Promise; replace(value: QueuedRevocation): Promise; clear(): Promise; } export declare function resolveRevocationQueuePath(environment?: NodeJS.ProcessEnv): string; /** * Retries a server-side revocation left behind by a local disable that could not reach the * service. Never throws: a still-unreachable or misbehaving server must not block plugin * startup, and the entry simply stays queued for the next attempt. */ export declare function attemptQueuedRevocation(store: RevocationQueueStore, signal: AbortSignal): Promise; //# sourceMappingURL=revocation-queue.d.ts.map