import type { AuthTokens } from "./types.js";
/**
 * Save auth tokens to auth.json with 0600 permissions (Unix).
 */
export declare function saveTokens(tokens: AuthTokens): Promise<void>;
/**
 * Load auth tokens from auth.json.
 * Returns null if the file doesn't exist or has invalid structure.
 */
export declare function loadTokens(): Promise<AuthTokens | null>;
/**
 * Remove auth.json (clear tokens).
 */
export declare function clearTokens(): Promise<void>;
/**
 * Check if valid, non-expired tokens exist.
 * Returns true if tokens are present and expires_at is in the future.
 */
export declare function hasValidTokens(): Promise<boolean>;
//# sourceMappingURL=token-storage.d.ts.map