/**
 * External dependencies
 */
import type { SyntheticEvent } from 'react';
/**
 * Internal dependencies
 */
import type { DragProps } from '../types';
export declare const CHANGE = "CHANGE";
export declare const COMMIT = "COMMIT";
export declare const DRAG_END = "DRAG_END";
export declare const DRAG_START = "DRAG_START";
export declare const DRAG = "DRAG";
export declare const INVALIDATE = "INVALIDATE";
export declare const PRESS_DOWN = "PRESS_DOWN";
export declare const PRESS_ENTER = "PRESS_ENTER";
export declare const PRESS_UP = "PRESS_UP";
export declare const RESET = "RESET";
export declare const UPDATE = "UPDATE";
interface EventPayload {
    event?: SyntheticEvent;
}
interface Action<Type, ExtraPayload = {}> {
    type: Type;
    payload: EventPayload & ExtraPayload;
}
interface ValuePayload {
    value: string;
}
export declare type ChangeAction = Action<typeof CHANGE, ValuePayload>;
export declare type CommitAction = Action<typeof COMMIT, ValuePayload>;
export declare type PressUpAction = Action<typeof PRESS_UP>;
export declare type PressDownAction = Action<typeof PRESS_DOWN>;
export declare type PressEnterAction = Action<typeof PRESS_ENTER>;
export declare type DragStartAction = Action<typeof DRAG_START, DragProps>;
export declare type DragEndAction = Action<typeof DRAG_END, DragProps>;
export declare type DragAction = Action<typeof DRAG, DragProps>;
export declare type ResetAction = Action<typeof RESET, Partial<ValuePayload>>;
export declare type UpdateAction = Action<typeof UPDATE, ValuePayload>;
export declare type InvalidateAction = Action<typeof INVALIDATE, {
    error: unknown;
}>;
export declare type ChangeEventAction = ChangeAction | ResetAction | CommitAction | UpdateAction;
export declare type DragEventAction = DragStartAction | DragEndAction | DragAction;
export declare type KeyEventAction = PressDownAction | PressUpAction | PressEnterAction;
export declare type InputAction = ChangeEventAction | KeyEventAction | DragEventAction | InvalidateAction;
export {};
//# sourceMappingURL=actions.d.ts.map