type ErrorOverrides = { [statusCode: number]: string; ECONNREFUSED?: string; }; export declare function handleApiError(error: unknown, errorFn: (...args: [message: string, options: { exit: number; }]) => never, overrides?: ErrorOverrides): never; /** * `catch()` handling for a command that raises oclif errors of its own. Flag * relationship failures and every `this.error( ..., { exit } )` already carry an * exit code and formatted output, and `handleApiError` would flatten all of it * to a bare exit 1 — so pass those straight through and only map what actually * came back from the API. */ export declare function handleCommandError(error: Error, errorFn: (...args: [message: string, options: { exit: number; }]) => never, overrides?: ErrorOverrides): never; export {};