import { AnyBoolean } from "@onebro/oba-common"; import OBACore from "@onebro/oba-core"; import { Schema } from "mongoose"; import { ModelFactoryConfig, ModelFactory } from "@onebro/oba-mongoose"; import { VendorItem, VendorItemSignature, DocStatuses } from "../00-model-types"; export declare type VendorItemFactoryConfig = ModelFactoryConfig; export declare const vendorItemAsPropSchema: (arr?: AnyBoolean) => { type: (typeof Schema.Types.ObjectId)[]; ref: string; default: (Pick, import("../00-model-types").VendorItemInstanceKeys> & Partial, undefined>> & Omit & { id: import("@onebro/oba-mongoose").IsObjectId; status: import("@onebro/oba-common").Status; stat: string; } & {} & { json: () => Pick, import("../00-model-types").VendorItemJsonKeys> & Partial, undefined>> & Omit & { id: string; status: import("@onebro/oba-common").Status; stat: string; } & {}; preview: Pick, import("../00-model-types").VendorItemPreviewKeys> & Partial, undefined>> & Pick, "id" | "stat">; } & import("mongoose").Document)[]; get: (p: VendorItem["instance"][]) => (Pick, import("../00-model-types").VendorItemPreviewKeys> & Partial, undefined>> & Pick, "id" | "stat">)[]; } | { type: typeof Schema.Types.ObjectId; ref: string; get: (p: VendorItem["instance"]) => Pick, import("../00-model-types").VendorItemPreviewKeys> & Partial, undefined>> & Pick, "id" | "stat">; default?: undefined; }; export declare const vendorItemSchemaDef: VendorItemFactoryConfig["definition"]; export declare const vendorItemRefs_: VendorItemFactoryConfig["refs"]; export declare const vendorItemRefs: VendorItemFactoryConfig["refs"]; export declare const vendorItemVirtuals: VendorItemFactoryConfig["virtuals"]; export declare const vendorItemMethods: VendorItemFactoryConfig["methods"]; export declare const VendorItemFactoryConfig: VendorItemFactoryConfig; export declare class VendorItemFactory extends ModelFactory { constructor(api: OBACore); }