/** * Copyright(c) Microsoft Corporation.All rights reserved. * Licensed under the MIT License. */ import { z } from 'zod'; import { MessagingExtensionParameter } from './messagingExtensionParameter'; import { MessagingExtensionQueryOptions } from './messagingExtensionQueryOptions'; /** * Represents a query for a messaging extension. */ export interface MessagingExtensionQuery { /** * The ID of the command. */ commandId?: string; /** * A list of parameters for the query. */ parameters?: MessagingExtensionParameter[]; /** * Options for the query. */ queryOptions?: MessagingExtensionQueryOptions; /** * The state of the query. */ state?: string; } /** * Zod schema for validating MessagingExtensionQuery. * @ignore */ export declare const messagingExtensionQueryZodSchema: z.ZodObject<{ commandId: z.ZodOptional; parameters: z.ZodOptional; value: z.ZodOptional; }, z.core.$strip>>>; queryOptions: z.ZodOptional; count: z.ZodOptional; }, z.core.$strip>>; state: z.ZodOptional; }, z.core.$strip>; /** * Parses the given value as a messaging extension query. * * @param {unknown} value - The value to parse. * @returns {MessagingExtensionQuery} - The parsed messaging extension query. */ export declare function parseValueMessagingExtensionQuery(value: unknown): MessagingExtensionQuery;