import { ComponentChildren } from "preact"; import { Action } from "@teamhanko/hanko-frontend-sdk"; type Props = { onSubmit?: (event: Event) => void; children: ComponentChildren; hidden?: boolean; maxWidth?: boolean; flowAction?: Action; }; type FormContextType = { flowAction?: Action; }; export declare const FormContext: import("preact").Context; export declare const useFormContext: () => FormContextType; declare const Form: ({ onSubmit, children, hidden, maxWidth, flowAction, }: Props) => import("preact").JSX.Element; export default Form;