import { IAuthState } from '../providers/internal/AuthProvider'; export type IHeaders = [string, string][]; export type IAuthTokenType = 'bearer' | 'session'; export declare const verifyTokenType: (token: string) => IAuthTokenType; export declare const createFetchWrapper: (authState: IAuthState, baseUrl?: string) => { get: (url: string, additionalHeaders?: IHeaders | null) => Promise; post: (url: string, body?: T, additionalHeaders?: IHeaders | null) => Promise; put: (url: string, body?: T, additionalHeaders?: IHeaders | null) => Promise; patch: (url: string, body?: T, additionalHeaders?: IHeaders | null) => Promise; delete: (url: string, additionalHeaders?: IHeaders | null) => Promise; token: string | null; tokenType: IAuthTokenType; };