import { FormControlLabelProps } from '@mui/material/FormControlLabel'; import { SwitchProps } from '@mui/material/Switch'; import { FormikContextType } from 'formik'; import React from 'react'; export declare type RequiredFormikSwitchFields = Required, 'setFieldValue'>>; export declare type ThemedSwitchProps = SwitchProps & Required> & { label?: string; } & { FormControlLabelProps?: Omit; }; export declare const PSwitch: (props: ThemedSwitchProps) => JSX.Element; export declare const PSwitchMemo: React.MemoExoticComponent<(props: ThemedSwitchProps & RequiredFormikSwitchFields & { checked: boolean; }) => JSX.Element | null>;