UNPKG

443 BTypeScriptView Raw
1import { ResourcePickerAction, ActionType } from '../../actions/ResourcePicker';
2import { Indexable, ValidationError } from '../type-validate';
3export declare function validateProps(props: Indexable): {
4 path: string | undefined;
5 error: string;
6 message?: string | undefined;
7 value: any;
8}[] | undefined;
9export declare function validateAction(action: ResourcePickerAction): ValidationError[] | undefined;
10export { ActionType };