import { ComponentStory } from '@storybook/react'; import React from 'react'; declare const Story: { title: string; component: ({}: {}) => JSX.Element; argTypes: { name: { description: string; control: { type: string; }; table: { type: { summary: string; }; }; }; label: { defaultValue: string; control: { type: string; }; table: { type: { summary: string; }; }; }; checked: { defaultValue: boolean; description: string; control: { type: string; }; table: { type: { summary: string; }; }; }; onChange: { description: string; control: { type: string; }; table: { type: { summary: string; }; }; }; error: { defaultValue: boolean; description: string; control: { type: string; }; table: { type: { summary: string[]; }; }; }; }; }; export default Story; export declare const Main: ComponentStory<({ name, label, value, checked, onChange, error, disabled, ...rest }: { name: string; label: string; value?: string | undefined; checked: boolean; onChange: (event: React.ChangeEvent) => void; error?: string | false | null | undefined; disabled?: boolean | undefined; }) => JSX.Element>; export declare const WithError: ComponentStory<({ name, label, value, checked, onChange, error, disabled, ...rest }: { name: string; label: string; value?: string | undefined; checked: boolean; onChange: (event: React.ChangeEvent) => void; error?: string | false | null | undefined; disabled?: boolean | undefined; }) => JSX.Element>;