export declare type Handler = (...args: any[]) => any; declare function useUncontrolledProp(propValue: TProp | undefined, defaultValue: TProp, handler?: THandler): readonly [TProp, THandler]; declare function useUncontrolledProp(propValue: TProp | undefined, defaultValue?: TProp | undefined, handler?: THandler): readonly [TProp | undefined, THandler]; export { useUncontrolledProp }; declare type FilterFlags = { [Key in keyof Base]: NonNullable extends Condition ? Key : never; }; declare type AllowedNames = FilterFlags[keyof Base]; declare type ConfigMap = { [p in keyof TProps]?: AllowedNames; }; export default function useUncontrolled(props: TProps, config: ConfigMap): Omit;