export declare enum ShapedArrayType { String = "string", Number = "number", Boolean = "boolean", Date = "date" } export type ShapedArrayOfObject = { [key: string]: ShapedArrayType | ShapedArrayOfObject; }; /** * Example of usage * * keywords: shapedArray({ * id: ShapedArrayType.Number, * name: ShapedArrayType.String, * description: ShapedArrayType.String, * }) * * Array of strings * keywords: shapedArray(ShapedArrayType.String) * * Array of numbers * keywords: shapedArray(ShapedArrayType.Number) */ export declare function shapedArray(shape: ShapedArrayType | ShapedArrayOfObject): (value: any) => any; //# sourceMappingURL=shapedArray.d.ts.map