import React from 'react'; import { InputType } from 'react-magma-dom'; import { SchemaRendererProps } from './SchemaRenderer'; import { componentTypes } from '../ComponentMapper'; import { templateTypes } from '../TemplateMapper'; declare const _default: import("@storybook/csf").ComponentAnnotations; export default _default; export declare const Form: { render: import("@storybook/csf").AnnotatedStoryFn; args: { schema: { fields: ({ component: componentTypes; name: string; labelText: string; type: InputType; options?: undefined; placeholder?: undefined; isMulti?: undefined; color?: undefined; } | { component: componentTypes; name: string; labelText: string; options: { label: string; value: string; }[]; placeholder: string; type?: undefined; isMulti?: undefined; color?: undefined; } | { component: componentTypes; name: string; labelText: string; isMulti: boolean; options: { label: string; value: string; }[]; placeholder: string; type?: undefined; color?: undefined; } | { component: componentTypes; name: string; labelText: string; options: { label: string; value: string; }[]; type?: undefined; placeholder?: undefined; isMulti?: undefined; color?: undefined; } | { component: componentTypes; name: string; labelText: string; isMulti: boolean; options: { label: string; value: string; }[]; type?: undefined; placeholder?: undefined; color?: undefined; } | { component: componentTypes; name: string; labelText: string; color: string; type?: undefined; options?: undefined; placeholder?: undefined; isMulti?: undefined; } | { component: componentTypes; name: string; labelText: string; options: { labelText: string; value: string; }[]; type?: undefined; placeholder?: undefined; isMulti?: undefined; color?: undefined; } | { component: componentTypes; name: string; labelText: string; type?: undefined; options?: undefined; placeholder?: undefined; isMulti?: undefined; color?: undefined; })[]; type: string; title?: React.ReactNode; description?: React.ReactNode; }; }; }; export declare const FormGroups: { render: import("@storybook/csf").AnnotatedStoryFn; args: { schema: { fields: ({ component: componentTypes; labelText: string; helperMessage: string; name: string; fields: { component: componentTypes; labelText: string; name: string; }[]; } | { component: componentTypes; labelText: string; name: string; fields: ({ component: componentTypes; name: string; labelText: string; textPosition?: undefined; condition?: undefined; } | { component: componentTypes; name: string; labelText: string; textPosition: string; condition: { when: string; is: boolean; }; })[]; helperMessage?: undefined; })[]; type: string; title?: React.ReactNode; description?: React.ReactNode; }; }; }; export declare const Basic: { render: import("@storybook/csf").AnnotatedStoryFn; args: { schema: { type: templateTypes; fields: ({ component: componentTypes; name: string; children: string; level?: undefined; to?: undefined; } | { component: componentTypes; level: number; name: string; children: string; to?: undefined; } | { component: componentTypes; name: string; to: string; children: string; level?: undefined; })[]; }; }; }; export declare const Modal: { render: import("@storybook/csf").AnnotatedStoryFn; args: { schema: { type: templateTypes; fields: ({ component: componentTypes; name: string; heading?: undefined; condition?: undefined; isOpen?: undefined; fields?: undefined; } | { component: componentTypes; name: string; heading: string; condition: { when: string; is: boolean; then: { set: { isOpen: boolean; }; }; }; isOpen: boolean; fields: ({ component: componentTypes; name: string; children: string; level?: undefined; to?: undefined; } | { component: componentTypes; level: number; name: string; children: string; to?: undefined; } | { component: componentTypes; name: string; to: string; children: string; level?: undefined; } | { component: componentTypes; name: string; children: React.JSX.Element; level?: undefined; to?: undefined; })[]; })[]; }; }; }; export declare const Array: { render: import("@storybook/csf").AnnotatedStoryFn; args: { schema: { title: string; type: templateTypes; description: string; fields: { component: componentTypes; name: string; fieldKey: string; label: string; description: string; fields: { component: componentTypes; name: string; label: string; placeholder: string; isRequired: boolean; }[]; }[]; }; }; }; export declare function Example(): React.JSX.Element;