import * as z from "zod"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * Audience for the doc. */ export declare const Audience: { readonly ApplicationOwner: "application_owner"; readonly Consumer: "consumer"; }; /** * Audience for the doc. */ export type Audience = ClosedEnum; /** * Format of the doc. */ export declare const Format: { readonly Markdown: "markdown"; }; /** * Format of the doc. */ export type Format = ClosedEnum; export type ConnectorDoc = { /** * A unique identifier for an object. */ id?: string | undefined; /** * Name of the doc. */ name?: string | undefined; /** * Audience for the doc. */ audience?: Audience | undefined; /** * Format of the doc. */ format?: Format | undefined; /** * Link to fetch the content of the doc. */ url?: string | undefined; }; /** @internal */ export declare const Audience$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const Audience$outboundSchema: z.ZodNativeEnum; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace Audience$ { /** @deprecated use `Audience$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly ApplicationOwner: "application_owner"; readonly Consumer: "consumer"; }>; /** @deprecated use `Audience$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly ApplicationOwner: "application_owner"; readonly Consumer: "consumer"; }>; } /** @internal */ export declare const Format$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const Format$outboundSchema: z.ZodNativeEnum; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace Format$ { /** @deprecated use `Format$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Markdown: "markdown"; }>; /** @deprecated use `Format$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Markdown: "markdown"; }>; } /** @internal */ export declare const ConnectorDoc$inboundSchema: z.ZodType; /** @internal */ export type ConnectorDoc$Outbound = { id?: string | undefined; name?: string | undefined; audience?: string | undefined; format?: string | undefined; url?: string | undefined; }; /** @internal */ export declare const ConnectorDoc$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace ConnectorDoc$ { /** @deprecated use `ConnectorDoc$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `ConnectorDoc$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `ConnectorDoc$Outbound` instead. */ type Outbound = ConnectorDoc$Outbound; } export declare function connectorDocToJSON(connectorDoc: ConnectorDoc): string; export declare function connectorDocFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=connectordoc.d.ts.map