import { z } from "zod"; /** A formatted reference for an assistant message. For example, a Reference might be a docs page, dev center article, or a MongoDB University module. */ export type Reference = z.infer; export declare const Reference: z.ZodObject<{ url: z.ZodString; title: z.ZodString; metadata: z.ZodOptional; sourceType: z.ZodOptional; tags: z.ZodOptional>; }, z.core.$loose>>; }, z.core.$strip>; export type References = z.infer; export declare const References: z.ZodArray; sourceType: z.ZodOptional; tags: z.ZodOptional>; }, z.core.$loose>>; }, z.core.$strip>>; export type SortReferences = (left: Reference, right: Reference) => -1 | 0 | 1; export type ReferenceDomain = string | URL; export declare function makePrioritizeReferenceDomain(domains: ReferenceDomain | ReferenceDomain[]): SortReferences; /** * Determine if a reference is to a specific domain/path. */ export declare function isReferenceToDomain(referenceUrl: URL, domainUrl: URL): boolean;