export declare type OnError = <T extends ErrorHandler>(p: T) => T;
export declare type ErrorHandler = (p: {
    error: {
        status: number;
        data?: any;
        name: string;
    };
    path: string;
}) => void;
//# sourceMappingURL=types.d.ts.map