export declare type SetParameters = {
    statusCode?: number | null;
    loading: boolean;
    error?: any;
    payload: any;
    headers: any;
    onSuccess?: (store: any, state: any, statusCode: number) => any;
    onError?: (store: any, state: any, statusCode: any) => any;
    currentName?: string;
};
declare type Confirm = {
    buttonYes: string;
    buttonNo: string;
    message: string;
    theme?: 'show' | 'info' | 'success' | 'error' | 'warning';
};
export declare type ActionOptions<T> = {
    name: string;
    payload?: Partial<T>;
    request?: KraxRequest;
    confirm?: Confirm;
    onSuccess?: (store: any, state: T, statusCode: number) => any;
    onError?: (store: any, state: T, statusCode: any) => any;
    sleep?: number;
};
export declare type KraxRequest = {
    url: string;
    body?: BodyInit | null | object;
    cache?: RequestCache | any;
    credentials?: RequestCredentials;
    headers?: HeadersInit;
    integrity?: string;
    keepalive?: boolean;
    method?: string;
    mode?: RequestMode;
    redirect?: RequestRedirect;
    referrer?: string;
    referrerPolicy?: ReferrerPolicy;
    signal?: AbortSignal | null;
    window?: any;
    isJson?: boolean;
    isFile?: boolean;
    isForm?: boolean;
    writeToStore?: boolean;
};
export declare type KraxResponse<T> = {
    data?: T | null;
    statusCode?: number;
    headers?: any;
    error?: any;
};
export interface FetchOptions extends RequestInit {
    url: string;
}
export {};
