import { AvailableAgentsQuery, Exact, GenerateCopilotResponseInput, GenerateCopilotResponseMutation, GenerateCopilotResponseMutationVariables, InputMaybe, LoadAgentStateQuery, Scalars } from "../graphql/@generated/graphql.cjs"; import * as urql from "urql"; import { OperationResult, OperationResultSource } from "urql"; import { Client } from "@urql/core"; //#region src/client/CopilotRuntimeClient.d.ts interface CopilotRuntimeClientOptions { url: string; publicApiKey?: string; headers?: Record; credentials?: RequestCredentials; handleGQLErrors?: (error: Error) => void; handleGQLWarning?: (warning: string) => void; } declare class CopilotRuntimeClient { client: Client; handleGQLErrors?: (error: Error) => void; handleGQLWarning?: (warning: string) => void; constructor(options: CopilotRuntimeClientOptions); generateCopilotResponse({ data, properties, signal }: { data: GenerateCopilotResponseMutationVariables["data"]; properties?: GenerateCopilotResponseMutationVariables["properties"]; signal?: AbortSignal; }): OperationResultSource; }>>>; asStream(source: OperationResultSource>): ReadableStream; availableAgents(): OperationResultSource>; loadAgentState(data: { threadId: string; agentName: string; }): OperationResultSource>; static removeGraphQLTypename(data: any): any; } //#endregion export { CopilotRuntimeClient, CopilotRuntimeClientOptions }; //# sourceMappingURL=CopilotRuntimeClient.d.cts.map