/**
 * Timeout wrapper for async operations.
 *
 * Prevents stuck states when API calls hang due to network issues.
 * Every API call in screens should be wrapped in this.
 */
export declare class TimeoutError extends Error {
    constructor(label: string, ms: number);
}
export declare function withTimeout<T>(promise: Promise<T>, ms: number, label: string): Promise<T>;
