import type { CookiesOptions } from './cookies'; export declare enum Method { ALL = "ALL", GET = "GET", HEAD = "HEAD", POST = "POST", PUT = "PUT", DELETE = "DELETE", CONNECT = "CONNECT", OPTIONS = "OPTIONS", TRACE = "TRACE", PATCH = "PATCH" } export declare const ALL = Method.ALL; export declare const GET = Method.GET; export declare const HEAD = Method.HEAD; export declare const POST = Method.POST; export declare const PUT = Method.PUT; export declare const DELETE = Method.DELETE; export declare const CONNECT = Method.CONNECT; export declare const OPTIONS = Method.OPTIONS; export declare const TRACE = Method.TRACE; export declare const PATCH = Method.PATCH; export interface Options { cookies?: CookiesOptions; dev?: boolean; } export type MaybePromise = Promise | T;