export type CredentialsEnvironment = string | undefined; export type WorkflowTarget = string | undefined; export declare const resolveCredentialsPath: (environment: CredentialsEnvironment, workflow?: WorkflowTarget) => string; export declare const resolveKeyPath: (environment: CredentialsEnvironment, workflow?: WorkflowTarget) => string; export declare const resolveKey: (environment: CredentialsEnvironment, workflow?: WorkflowTarget) => string; export declare const credentialsExist: (environment: CredentialsEnvironment, workflow?: WorkflowTarget) => boolean; export type KeyMatch = 'no_file' | 'match' | 'mismatch'; export declare const checkKeyMatchesCredentials: (environment: CredentialsEnvironment, workflow?: WorkflowTarget) => KeyMatch; export declare const reEncryptKeyMismatchMessage: (credPath: string) => string; export declare const decryptCredentials: (environment: CredentialsEnvironment, workflow?: WorkflowTarget) => string; export declare const writeEncrypted: (environment: CredentialsEnvironment, plaintext: string, workflow?: WorkflowTarget) => void; export declare const initCredentials: (environment: CredentialsEnvironment, workflow?: WorkflowTarget) => { keyPath: string; credPath: string; }; export declare const initCredentialsAtPath: (projectPath: string) => { keyPath: string; credPath: string; }; export declare const readKeyAtPath: (projectPath: string) => string; export declare const writeEncryptedAtPath: (projectPath: string, plaintext: string) => void;