import Router from "@koa/router"; import { Context } from "koa"; import { FlatTemplatable } from "tempstream"; import { Fields, MountableWithFields } from "../page/mountable-with-fields.js"; import type { FormDataValue, FormMessage } from "./form-types.js"; import { Form } from "./form.js"; export declare class Multiform extends MountableWithFields { getControls: () => never[]; name: string; forms: Record>; init(path: string, router: Router): void; extractRawValues(ctx: Context): Promise>; canAccess(): Promise<{ canAccess: boolean; message: string; }>; getSubformsToRender(ctx: Context): Array]>; renderSubform(ctx: Context, sub_form_name: string, show_field_errors: boolean): Promise; getSubformRawValues(ctx: Context, sub_form_name: string): Promise>; render(ctx: Context, messages: FormMessage[], prerenderedForms: Record | undefined, show_field_errors: boolean): Promise; makeBottomScript(): string; mount(router: Router, path: string): void; }