@shopify/app-bridge-core
Version:
**[Join our team and work on libraries like this one.](https://www.shopify.ca/careers)**
13 lines (12 loc) • 539 B
TypeScript
import type { MetaAction } from '../../actions/types';
import { Indexable, ValidationError } from '../type-validate';
import { Action } from '../../actions/ContextualSaveBar';
export declare const contextSaveBarSchema: (value: any) => ValidationError[] | undefined;
export declare function validateProps(props: Indexable): {
path: string | undefined;
error: string;
message?: string;
value: any;
}[] | undefined;
export declare function validateAction(action: MetaAction): ValidationError[] | undefined;
export { Action };