import { createApp, createRouter } from "h3"; export interface EnvKeyConfig { key: string; label: string; required?: boolean; helpText?: string; secret?: boolean; /** * The runtime reads this key only from the deployment environment, so a * value saved in Settings would never be used. Settings shows it as a * deployment variable instead of offering an input. */ deploymentOnly?: boolean; } export interface CreateServerOptions { cors?: Record | false; jsonLimit?: string; pingMessage?: string; disablePing?: boolean; envKeys?: EnvKeyConfig[]; } export interface CreateServerResult { app: ReturnType; router: ReturnType; } export declare function createServer(options?: CreateServerOptions): CreateServerResult;