import 'rollup-plugin-inject-process-env'; import { FC } from "react"; import { FormWidgetTheme } from "@xapp/stentor-form-widget-channel"; import { FormWidgetConfig } from "../../config"; export declare const TRIGGER_SELECTOR_WATCH_TIMEOUT_MS = 30000; export interface FormProps { readonly config: FormWidgetConfig; readonly theme?: FormWidgetTheme; /** * Optional elements that will act as the button to enable the modal search. */ readonly button?: JSX.Element | string; readonly buttonElementLookup?: () => Promise; } /** * FormContainer is the main entry point for the Form widget. It provides the context for the * form and handles the button click events. * It is a wrapper around the Form component. */ export declare const FormContainer: FC; /** * Form is the main component for the Form widget. It provides the context for the * form and handles the button click events. */ /** * Options that can be passed when programmatically opening the form */ export interface OpenFormOptions { /** * Label of a chip to auto-select after the form loads. * If the first step of the form contains chips, the form will * automatically click the chip matching this label. */ preselectChipLabel?: string; } export declare const Form: FC;