import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { FacetBucket } from "./facetbucket.js"; export type FacetResult = { /** * The source of this facet (e.g. container_name, type, last_updated_at). */ sourceName?: string | undefined; /** * How to display this facet. Currently supportes 'SelectSingle' and 'SelectMultiple'. */ operatorName?: string | undefined; /** * A list of unique buckets that exist within this result set. */ buckets?: Array | undefined; /** * Returns true if more buckets exist than those returned. Additional buckets can be retrieve by requesting again with a higher facetBucketSize. */ hasMoreBuckets?: boolean | undefined; /** * For most facets this will be the empty string, meaning the facet is high-level and applies to all documents for the datasource. When non-empty, this is used to group facets together (i.e. group facets for each doctype for a certain datasource) */ groupName?: string | undefined; }; /** @internal */ export declare const FacetResult$inboundSchema: z.ZodType; export declare function facetResultFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=facetresult.d.ts.map