type UpdateGQLResult<T> = {
    [K in keyof T]?: (keyof T[K] | UpdateGQLResult<T[K]> | string)[] | keyof T[K];
};
type UpdateGQLFragmentGenerator<T> = <U, Y = undefined>(mutation: keyof T, args: CustomArgs<U>, result?: (keyof Y | UpdateGQLResult<Y>)[]) => string;
export interface UpdateGQLFragmentEnumInput {
    type: 'enum';
    value: unknown;
}
type CustomArgs<T> = {
    [P in keyof T]: T[P] extends (infer U)[] ? CustomArgs<U>[] : T[P] extends object ? CustomArgs<T[P]> : T[P] | UpdateGQLFragmentEnumInput;
};
/**
 * Factory for creating a `generateUpdateGQLFragment` function that can be used to
 * generate GraphQL fragments for the mutations present in `T`.
 * The generic `T` should usually be set to the `Mutation` type generated by the
 * GraphQL Code Generator.
 */
export declare function createUpdateGQLFragmentGenerator<T>(): UpdateGQLFragmentGenerator<T>;
export {};
//# sourceMappingURL=UpdateGQLFragmentGenerator.d.ts.map