import "./_dnt.polyfills.js"; import type { ServerChild } from './server-html.js'; export interface GoRequest { method: string; url: string; headers: Record; } /** Calls an explicitly registered Go operation in the current request context. */ export declare function data(name: string, input?: unknown): Promise; /** Export as `app`, then bundle as an IIFE with global name `Radi`. */ export declare function defineApp(render: (request: GoRequest) => ServerChild): { start(request: string, maxTextLength: number): void; pull(): Promise; settle(message: string): void; };