import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; export declare const CollectionItemDescriptorItemType: { readonly Document: "DOCUMENT"; readonly Text: "TEXT"; readonly Url: "URL"; }; export type CollectionItemDescriptorItemType = ClosedEnum; export type CollectionItemDescriptor = { /** * The optional name of the Collection item. */ name?: string | undefined; /** * A helpful description of why this CollectionItem is in the Collection that it's in. */ description?: string | undefined; /** * The emoji icon for this CollectionItem. Only used for Text type items. */ icon?: string | undefined; /** * The URL of the item being added. */ url?: string | undefined; /** * The Glean Document ID of the item being added if it's an indexed document. */ documentId?: string | undefined; /** * The (optional) ItemId of the next CollectionItem in sequence. If omitted, will be added to the end of the Collection */ newNextItemId?: string | undefined; itemType?: CollectionItemDescriptorItemType | undefined; }; /** @internal */ export declare const CollectionItemDescriptorItemType$outboundSchema: z.ZodNativeEnum; /** @internal */ export type CollectionItemDescriptor$Outbound = { name?: string | undefined; description?: string | undefined; icon?: string | undefined; url?: string | undefined; documentId?: string | undefined; newNextItemId?: string | undefined; itemType?: string | undefined; }; /** @internal */ export declare const CollectionItemDescriptor$outboundSchema: z.ZodType; export declare function collectionItemDescriptorToJSON(collectionItemDescriptor: CollectionItemDescriptor): string; //# sourceMappingURL=collectionitemdescriptor.d.ts.map