import { type Endpoints, type Stage } from './endpoints.const'; export interface RequestPayload { url: string; base?: 'notifications' | 'accounts'; stage?: Stage; endpoints?: Endpoints; method?: 'get' | 'post' | 'put' | 'delete' | 'patch'; headers?: { [key: string]: string; }; type?: 'json' | 'text' | 'form' | 'none'; responseType?: 'json' | 'text' | 'none'; camundaAuth?: { token: string; refreshTokenMethod?: () => Promise; }; body?: string | FormData | { [key: string]: unknown; }; enableLogs?: boolean; signal?: AbortSignal; } export type RequestResponse = { success: boolean; result?: R; status?: number; error?: string; }; export declare const request: (payload: RequestPayload) => Promise>;