export declare type Schema = RecursiveSchema | { jsonType: string; }; export interface RecursiveSchema extends Record { jsonType: string; type?: Schema; } /** * Given a Sanity schema-type, remove the named option. * * @param type Sanity schema, typically props.type in custom components. * @param optionName named option to remove, recursively from type. * * @see useUnsetOption */ export declare function unsetOption(type: T, optionName: string): T; /** * Given a Sanity schema-type, remove inputComponent from the schema, recursively. * * @param type Sanity schema, typically props.type in custom components. * * @see useUnsetInputComponent */ export declare function unsetInputComponent(type: T): T; //# sourceMappingURL=utils.d.ts.map