import { type FormHTMLAttributes, type PropsWithChildren } from 'react';
import type { BaseComponentProps } from '../../types/base';
export type KernFormProps = PropsWithChildren, never>>;
export interface KernFormMethods {
checkValidity: () => boolean;
reportValidity: () => boolean;
getElements: () => HTMLElement[];
getValues: () => FormData;
}
/**
* KernForm - KernUX form wrapper
*
* @example
* ```tsx
* const parentRef = React.useRef();
* ;
* const isValid = parentRef.current.checkValidity();
* ```
*/
declare const KernForm: import("react").ForwardRefExoticComponent, "className"> & {
className?: string;
} & {
children?: import("react").ReactNode | undefined;
} & import("react").RefAttributes>;
export default KernForm;
//# sourceMappingURL=kern-form.d.ts.map