export declare const DEFAULT_API_URL = "https://vaultmemoryai.com/api"; export interface VaultConfig { apiUrl: string; email?: string; deviceId?: string; intervalSeconds: number; watchPaths: string[]; } export interface StoredTokens { accessToken: string; refreshToken?: string; expiresIn?: number; expiresAt?: number; } export interface VaultStatus { apiUrl: string; configured: boolean; authenticated: boolean; account?: string; } export declare function vaultHome(environment?: NodeJS.ProcessEnv): string; export declare function configPath(home?: string): string; export declare function authPath(home?: string): string; /** File identity survives value-level ABA (logout then login with the same API key). */ export declare function credentialFilesGeneration(home?: string): string; export declare function loadConfig(home?: string): VaultConfig; export declare function loadTokens(home?: string): StoredTokens | null; export declare function saveConfig(config: VaultConfig, home?: string): void; export declare function saveTokens(tokens: StoredTokens, home?: string): void; export declare function getStatus(home?: string): VaultStatus; export declare function validateApiUrl(value: string): URL;