import type { QueryGenqlSelection, Query, MutationGenqlSelection, Mutation, SubscriptionGenqlSelection, Subscription } from './schema.js'; import { type FieldsSelection, type GraphqlOperation, type ClientOptions, GenqlError } from './runtime/index.js'; export type { FieldsSelection } from './runtime/index.js'; export { GenqlError }; export * from './schema.js'; export interface Client { query(request: R & { __name?: string; }): Promise>; mutation(request: R & { __name?: string; }): Promise>; } export declare const createClient: (options?: ClientOptions) => Client; export declare const everything: { __scalar: boolean; }; export type QueryResult = FieldsSelection; export declare const generateQueryOp: (fields: QueryGenqlSelection & { __name?: string; }) => GraphqlOperation; export type MutationResult = FieldsSelection; export declare const generateMutationOp: (fields: MutationGenqlSelection & { __name?: string; }) => GraphqlOperation; export type SubscriptionResult = FieldsSelection; export declare const generateSubscriptionOp: (fields: SubscriptionGenqlSelection & { __name?: string; }) => GraphqlOperation;