import type { AuthStorage } from '../auth/auth-storage.js';
export type ShortcutAuthRecovery = (rejectedApiKey: string) => Promise<string | undefined>;
type ShortcutAuthRecoveryStorage = Pick<AuthStorage, 'getApiKey'>;
/**
 * Build the standard Shortcut 401 recovery hook: fetch a replacement through
 * the caller-owned auth storage, bypassing local expiry shortcuts.
 */
export declare function createShortcutAuthRecovery(authStorage: ShortcutAuthRecoveryStorage): ShortcutAuthRecovery;
export {};
//# sourceMappingURL=shortcut-auth-recovery.d.ts.map