import * as schema from '../../schema'; import { AbsType } from './AbsType'; import type { SchemaOf, Type } from '../types'; export declare class FnType extends AbsType, SchemaOf, Ctx>> { readonly req: Req; readonly res: Res; constructor(req: Req, res: Res, options?: schema.Optional, SchemaOf>>); input(req: T): FnType; inp(req: T): FnType; output(res: T): FnType; out(res: T): FnType; io(request: I, response: O): FnType; signature(request: I, response: O): FnType; ctx(): FnType; getSchema(): schema.FnSchema, SchemaOf, Ctx>; default(value: schema.FunctionValue>, schema.TypeOf>>): this; exec(input: schema.TypeOf>): schema.TypeOf> | Promise>>; toString(tab?: string): string; } export declare class FnRxType extends AbsType, SchemaOf, Ctx>> { readonly req: Req; readonly res: Res; readonly isStreaming = true; constructor(req: Req, res: Res, options?: schema.Optional, SchemaOf>>); input(req: T): FnRxType; inp(req: T): FnRxType; output(res: T): FnRxType; out(res: T): FnRxType; io(request: I, response: O): FnRxType; signature(request: I, response: O): FnRxType; ctx(): FnRxType; getSchema(): schema.FnRxSchema, SchemaOf, Ctx>; default(value: schema.FnStreamingValue>, schema.TypeOf>>): this; toString(tab?: string): string; } //# sourceMappingURL=FnType.d.ts.map