UNPKG

605 BTypeScriptView Raw
1import { MetaAction } from '../../actions/types';
2import { ActionType } from '../../actions/Button';
3import { Indexable, ValidationError } from '../type-validate';
4export declare const buttonSchema: import("../type-validate").Validator;
5export declare const buttonSchemaWithId: import("../type-validate").Validator;
6export declare function validateProps(props: Indexable): {
7 path: string | undefined;
8 error: string;
9 message?: string | undefined;
10 value: any;
11}[] | undefined;
12export declare function validateAction(action: MetaAction): ValidationError[] | undefined;
13export { ActionType };