export declare const throwUserError: (messageOrError: string | Error, error?: Error) => never; export declare const isUserError: (error: any) => boolean;