import type { DefaultRequest, RequestGetHeaderFunction } from "@enonic-types/core"; export declare type Params = Record; export declare class Request implements DefaultRequest { readonly scheme: string; readonly host: string; readonly port: number; readonly path: string; readonly url: string; readonly branch: 'draft' | 'master'; readonly method: 'GET' | 'POST' | 'PUT' | 'DELETE' | 'HEAD' | 'OPTIONS' | 'PATCH'; readonly mode: 'edit' | 'inline' | 'live' | 'preview'; readonly body?: string; readonly contextPath?: string; readonly contentType?: string; readonly cookies: Record; readonly followRedirects?: boolean; readonly headers: Record; readonly params: Params; readonly pathParams?: Record; readonly rawPath: string; readonly repositoryId?: string; readonly remoteAddress: string; readonly webSocket: boolean; readonly locales: string[]; static queryToParams(query: string): Params; constructor(constructorParams?: Partial); contentPath({ _trace, }?: { _trace?: boolean; }): string; query(): string; project(): string; serialize(): string; getHeader: RequestGetHeaderFunction; }