export interface AlephEnv { [key: string]: string readonly __version: string readonly __buildMode: string readonly __buildTarget: string}
export interface SSROptions { fallback?: string include?: RegExp[] exclude?: RegExp[] staticPaths?: string[]}
export interface Config { srcDir?: string outputDir?: string baseUrl?: string reactUrl?: string reactDomUrl?: string defaultLocale?: string locales?: string[] ssr?: boolean | SSROptions buildTarget?: string sourceMap?: boolean env?: Record<string, string>}
export interface APIHandler { (req: APIRequest): void}
export interface APIRequestURL { readonly pathname: string readonly params: Record<string, string> readonly query: URLSearchParams}
export interface APIRequest { readonly method: string readonly proto: string readonly protoMinor: number readonly protoMajor: number readonly headers: Headers readonly conn: Deno.Conn readonly r: Deno.Reader readonly w: Deno.Writer readonly done: Promise<Error | undefined> readonly contentLength: number | null readonly body: Deno.Reader respond(r: Response): Promise<void> finalize(): Promise<void> readonly url: APIRequestURL readonly cookies: ReadonlyMap<string, string> status(code: number): this addHeader(key: string, value: string): this setHeader(key: string, value: string): this removeHeader(key: string): this send(data: string | Uint8Array | ArrayBuffer): Promise<void> json(data: any): Promise<void> end(code: number): Promise<void>}
export interface Response { status?: number headers?: Headers trailers?: () => Promise<Headers> | Headers body?: Uint8Array | Deno.Reader | string}
export interface RouterURL { readonly locale: string readonly pathname: string readonly pagePath: string readonly params: Record<string, string> readonly query: URLSearchParams}