/**
 * SAC authentication - Read API key from ~/.seawork/auth.json
 *
 * The auth.json file is created by Seawork desktop app after login.
 * Format:
 * {
 *   "token": "api_key_here",
 *   "email": "user@example.com",
 *   "balance": "100",
 *   "base_url": "https://..."
 * }
 */
export interface StoredAuth {
    token?: string;
    email?: string;
    balance?: string;
    base_url?: string;
}
/**
 * Get the path to the auth.json file
 */
export declare function getAuthFilePath(seaworkHome?: string): string;
/**
 * Load auth config from ~/.seawork/auth.json
 */
export declare function loadAuthConfig(seaworkHome?: string): StoredAuth;
/**
 * Get SAC API key from environment or auth.json
 * Priority: SAC_API_KEY env > SEAART_API_KEY env > ~/.seawork/auth.json token
 */
export declare function getSACApiKey(seaworkHome?: string): string | undefined;
/**
 * Get SAC multimodal base URL
 * Priority: SAC_MULTIMODAL_BASE_URL env > derived from auth.json base_url > default
 */
export declare function getSACBaseUrl(seaworkHome?: string): string;
/**
 * Get SAC API key or throw an error if not found
 */
export declare function requireSACApiKey(seaworkHome?: string): string;
//# sourceMappingURL=auth.d.ts.map