import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * The metadata of the consumer. This is used to display the consumer in the sidebar. This is optional, but recommended. */ export type ConsumerMetadata = { /** * The name of the account as shown in the sidebar. */ accountName?: string | undefined; /** * The name of the user as shown in the sidebar. */ userName?: string | undefined; /** * The email of the user as shown in the sidebar. */ email?: string | undefined; /** * The avatar of the user in the sidebar. Must be a valid URL */ image?: string | undefined; }; /** @internal */ export declare const ConsumerMetadata$inboundSchema: z.ZodType; /** @internal */ export type ConsumerMetadata$Outbound = { account_name?: string | undefined; user_name?: string | undefined; email?: string | undefined; image?: string | undefined; }; /** @internal */ export declare const ConsumerMetadata$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 ConsumerMetadata$ { /** @deprecated use `ConsumerMetadata$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `ConsumerMetadata$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `ConsumerMetadata$Outbound` instead. */ type Outbound = ConsumerMetadata$Outbound; } export declare function consumerMetadataToJSON(consumerMetadata: ConsumerMetadata): string; export declare function consumerMetadataFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=consumermetadata.d.ts.map