import { ArraySchemaType, InitialValueParams, ObjectSchemaType, SchemaType } from '@sanity/types'; export declare function getItemType(arrayType: ArraySchemaType, item: unknown): SchemaType | undefined; /** * Resolve initial value for the given schema type (recursively) * * @param type {SchemaType} this is the name of the document * @param params {Record} params is a sanity context object passed to every initial value function * @param maxDepth {Record} maximum recursion depth (default 9) */ export declare function resolveInitialValueForType(type: SchemaType, params?: InitialValueParams, maxDepth?: number): any; export declare function resolveInitialObjectValue(type: ObjectSchemaType, params: InitialValueParams, maxDepth: number): Promise | undefined>; //# sourceMappingURL=resolveInitialValueForType.d.ts.map