import { ApiError } from '@playdrop/types';
export declare function isNetworkError(error: unknown): boolean;
export declare function handleCommandFailure(error: unknown, command: string, context: string, options?: {
    networkMessage?: string;
    apiMessage?: (error: ApiError) => {
        problem: string;
        suggestions?: string[];
    };
}): boolean;
