You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
603 B

import Schemer from '@expo/schemer';
export declare type Schema = any;
export declare type AssetSchema = {
fieldPath: string;
};
export declare function validatorFromProjectRoot(projectRoot: string): Promise<Schemer>;
export declare function validateAsync(projectRoot: string): Promise<void>;
export declare function getSchemaAsync(sdkVersion: string): Promise<Schema>;
/**
* Array of schema nodes that refer to assets along with their field path (eg. 'notification.icon')
*
* @param sdkVersion
*/
export declare function getAssetSchemasAsync(sdkVersion: string | undefined): Promise<string[]>;