import type { Application, State } from "./application.js"; import { NativeRequest } from "./http_server_native_request.js"; import type { Listener, OakServer, ServeOptions, ServeTlsOptions } from "./types.js"; /** The oak abstraction of the Deno native HTTP server which is used internally * for handling native HTTP requests. Generally users of oak do not need to * worry about this class. */ export declare class Server> implements OakServer { #private; constructor(app: Application, options: Omit); get app(): Application; get closed(): boolean; close(): Promise; listen(): Promise; [Symbol.asyncIterator](): AsyncIterableIterator; static type: "native"; }