import { getSdk } from './graphql/generated'; type SDK = ReturnType; type Operation = keyof SDK; type OperationVariables = { [T in Operation]: Parameters[0]; }; type OperationData = { [T in Operation]: Awaited>; }; export type GQLRequestArgs = { server: string; apiKey: string; timeout?: number; operation: T; variables: OperationVariables[T]; }; export declare function gqlRequest(args: GQLRequestArgs): Promise; export {};