import type { GatewayApiKey } from '@nylas-labs/cli-kit'; /** Nylas API-key expiry values are expressed in days, not seconds. */ export declare const DEPLOYMENT_API_KEY_LIFETIME_DAYS = 365; export declare const TEMPORARY_API_KEY_LIFETIME_DAYS = 1; /** Dashboard APIs may serialize epoch timestamps in seconds or milliseconds. */ export declare function apiKeyExpiresAtMs(expiresAt: number | undefined): number | null; export declare function reusableApiKey(keys: GatewayApiKey[], trackedKeyId: string | undefined, now?: number): GatewayApiKey | null; //# sourceMappingURL=api-key-lifecycle.d.ts.map