import { FC } from 'react';
import { Meta, StoryObj } from '@storybook/react';
import { default as PinField } from './pin-field';
import { Props } from './props';
/**
* The `` component is a simple wrapper around a list of HTML inputs.
*
* The component exposes 4 event handlers, see stories below to learn more about the other props.
*/
declare const meta: Meta;
export declare const Default: StoryObj;
/**
* Story to detect inconsistent behaviours in React Strict Mode.
*/
export declare const StrictMode: StoryObj;
/**
* The `usePinField()` hook exposes a handler to control the PIN field:
*
* - `refs`: the list of HTML input elements that composes the PIN field
* - `value`: the current value of the PIN field
* - `setValue`: change the current value of the PIN field
*
* It also exposes the internal `state` and `dispatch` for advance usage.
*
* The handler returned by `usePinField()` needs to be passed down to the composant for the control to work:
*
* ```tsx
* const handler = usePinField();
* return
* ```
*/
export declare const Controlled: StoryObj>;
/**
* Characters can be formatted with a formatter `(char: string) => string`.
*/
export declare const Format: StoryObj>;
/**
* Characters can be validated using the HTML input attribute `pattern`:
*/
export declare const HTMLInputAttributes: StoryObj>;
export default meta;