import * as z from "zod/v3"; import { OpenEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { Document } from "./document.js"; import { OperatorMetadata } from "./operatormetadata.js"; import { Quicklink } from "./quicklink.js"; import { StructuredResult } from "./structuredresult.js"; import { TextRange } from "./textrange.js"; export declare const AutocompleteResultResultType: { readonly AdditionalDocument: "ADDITIONAL_DOCUMENT"; readonly App: "APP"; readonly BrowserHistory: "BROWSER_HISTORY"; readonly Datasource: "DATASOURCE"; readonly Document: "DOCUMENT"; readonly Entity: "ENTITY"; readonly Golink: "GOLINK"; readonly History: "HISTORY"; readonly ChatHistory: "CHAT_HISTORY"; readonly NewChat: "NEW_CHAT"; readonly Operator: "OPERATOR"; readonly OperatorValue: "OPERATOR_VALUE"; readonly Quicklink: "QUICKLINK"; readonly Suggestion: "SUGGESTION"; }; export type AutocompleteResultResultType = OpenEnum; export type AutocompleteResult = { result: string; /** * A list of all possible keywords for given result. */ keywords?: Array | undefined; resultType?: AutocompleteResultResultType | undefined; /** * Higher indicates a more confident match. */ score?: number | undefined; operatorMetadata?: OperatorMetadata | undefined; /** * An action for a specific datasource that will show up in autocomplete and app card, e.g. "Create new issue" for jira. */ quicklink?: Quicklink | undefined; document?: Document | undefined; url?: string | undefined; /** * A single object that can support any object in the work graph. Only a single object will be populated. */ structuredResult?: StructuredResult | undefined; /** * A token to be passed in /feedback events associated with this autocomplete result. */ trackingToken?: string | undefined; /** * Subsections of the result string to which some special formatting should be applied (eg. bold) */ ranges?: Array | undefined; }; /** @internal */ export declare const AutocompleteResultResultType$inboundSchema: z.ZodType; /** @internal */ export declare const AutocompleteResult$inboundSchema: z.ZodType; export declare function autocompleteResultFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=autocompleteresult.d.ts.map