import { DocumentNode } from "graphql";
import { MaybePromise } from "../util/type-utils";
import type { AdminClient } from "./admin-client";
export interface QueryContext {
    adminClient: AdminClient<{}>;
}
export interface AdminQuery<Response extends unknown, Result extends unknown = Response> {
    query: DocumentNode;
    variables?: {};
    transformResponse?: (result: Response, context: QueryContext) => MaybePromise<Result>;
}
export declare function getSingleSelectedFieldName(query: AdminQuery<any, any>): string;
//# sourceMappingURL=admin-query.d.ts.map