interface TraverseSchemaOptions { refs?: { [key: string]: (schema: object, data: any, pointer: string) => Promise | void; }; jsTypeof?: { [key: string]: (schema: object, data: any, pointer: string) => Promise | void; }; } /** * Traverses a schema and allows "hooks" to handle properties of different refs. * * Each "hook" can be async, and the entire function will return a promise which resolves * after each hook has resolved. * * NOTE: This will not resolve and traverse down the actual schemas referenced by the "$ref" property. * * @param schema * @param data * @param opts */ declare function traverseSchema(schema: any, data: any, opts: TraverseSchemaOptions, pointer?: string): Promise; export default traverseSchema; //# sourceMappingURL=traverse-schema.d.ts.map