export declare type Processor = (res: Response) => Promise; export interface FetchConfig extends RequestInit { url: string; processor?: Processor; } export declare const Get: (conf: FetchConfig) => (proto: any, method: string) => void; export declare const Post: (conf: FetchConfig) => (proto: any, method: string) => void; export declare const Delete: (conf: FetchConfig) => (proto: any, method: string) => void; export declare const Put: (conf: FetchConfig) => (proto: any, method: string) => void; export declare const FetchError: (status: number) => (proto: any, method: string) => void;