import { Keystore } from '../keystore'; /** * Get the keystore path */ export declare function getStorePath(customPath?: string): string; /** * Get the passphrase with fallback chain: * 1. If noEncryption is true, return null * 2. Try environment variable * 3. If interactive (TTY), prompt user * 4. Otherwise error */ export declare function getPassphrase(noEncryption?: boolean): Promise; /** * Output data as formatted JSON */ export declare function outputJson(data: unknown): string; /** * Output data as a simple table */ export declare function outputTable(data: Record): string; /** * Format a DID for display (truncate if too long) */ export declare function formatDid(did: string, maxLength?: number): string; /** * Parse a date string for display */ export declare function formatDate(dateStr: string): string; /** * Validate that a string is a valid DID */ export declare function validateDid(did: string): void; /** * Get a keystore instance for reading existing data * Skips passphrase validation for backwards compatibility */ export declare function getExistingKeystore(storePath?: string, noEncryption?: boolean): Promise; /** * Get a keystore instance for creating new data * Validates passphrase strength */ export declare function getNewKeystore(storePath?: string, noEncryption?: boolean): Promise; //# sourceMappingURL=utils.d.ts.map