import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { FacetValue } from "./facetvalue.js"; export type FacetBucket = { /** * Estimated number of results in this facet. */ count?: number | undefined; /** * The datasource the value belongs to. This will be used by the all tab to show types across all datasources. */ datasource?: string | undefined; /** * Estimated percentage of results in this facet. */ percentage?: number | undefined; value?: FacetValue | undefined; }; /** @internal */ export declare const FacetBucket$inboundSchema: z.ZodType; export declare function facetBucketFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=facetbucket.d.ts.map