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 { IconConfig, IconConfig$Outbound } from "./iconconfig.js"; export declare const Scope: { readonly AppCard: "APP_CARD"; readonly AutocompleteExactMatch: "AUTOCOMPLETE_EXACT_MATCH"; readonly AutocompleteFuzzyMatch: "AUTOCOMPLETE_FUZZY_MATCH"; readonly AutocompleteZeroQuery: "AUTOCOMPLETE_ZERO_QUERY"; readonly NewTabPage: "NEW_TAB_PAGE"; }; export type Scope = OpenEnum; /** * An action for a specific datasource that will show up in autocomplete and app card, e.g. "Create new issue" for jira. */ export type Quicklink = { /** * Full action name. Used in autocomplete. */ name?: string | undefined; /** * Shortened name. Used in app cards. */ shortName?: string | undefined; /** * The URL of the action. */ url?: string | undefined; /** * Defines how to render an icon */ iconConfig?: IconConfig | undefined; /** * Unique identifier of this quicklink */ id?: string | undefined; /** * The scopes for which this quicklink is applicable */ scopes?: Array | undefined; }; /** @internal */ export declare const Scope$inboundSchema: z.ZodType; /** @internal */ export declare const Scope$outboundSchema: z.ZodType; /** @internal */ export declare const Quicklink$inboundSchema: z.ZodType; /** @internal */ export type Quicklink$Outbound = { name?: string | undefined; shortName?: string | undefined; url?: string | undefined; iconConfig?: IconConfig$Outbound | undefined; id?: string | undefined; scopes?: Array | undefined; }; /** @internal */ export declare const Quicklink$outboundSchema: z.ZodType; export declare function quicklinkToJSON(quicklink: Quicklink): string; export declare function quicklinkFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=quicklink.d.ts.map