import { type PromptIo } from './prompt.js'; import type { CredentialBackendKind } from './credentials.js'; /** * Where a credential can be kept on this platform, recommended first. * * Reported rather than assumed: offering the macOS Keychain on Linux, or a * Secret Service that is not running, produces a setup that appears to succeed * and then cannot read its own credential back. */ export declare function credentialStoreChoices(platform?: NodeJS.Platform): Array<{ value: CredentialBackendKind; label: string; detail?: string; }>; /** The default store: the OS keychain where one exists, otherwise refused. */ export declare function defaultCredentialBackend(platform?: NodeJS.Platform): CredentialBackendKind; export declare function parseCredentialBackend(value: string | undefined, platform?: NodeJS.Platform): CredentialBackendKind; /** Refuses to guess when there is nobody to ask. */ export declare function assertInteractive(io: PromptIo, alternative: string): void; /** Reads an access key from stdin (or a prompt), never from an argument. */ export declare function readAccessKey(io: PromptIo): Promise; /** A key's identifying prefix. Never the key. */ export declare function credentialFingerprint(token: string): string; //# sourceMappingURL=configure.d.ts.map