import { MockModelConfig } from "../types.js"; import * as prismic from "@prismicio/client"; //#region src/model/customType.d.ts type MockCustomTypeModelConfig = { id?: string; label?: string; status?: boolean; repeatable?: boolean; format?: prismic.CustomTypeModel["format"]; } & ({ fields?: Definition; tabs?: never; } | { tabs?: Definition; fields?: never; }) & MockModelConfig; type MockCustomTypeModel = (Definition extends prismic.CustomTypeModelTab ? prismic.CustomTypeModel> : Definition extends prismic.CustomTypeModelDefinition ? prismic.CustomTypeModel : never) & { label: NonNullable; }; declare const customType: (config: MockCustomTypeModelConfig) => MockCustomTypeModel; //#endregion export { MockCustomTypeModelConfig, customType }; //# sourceMappingURL=customType.d.ts.map