/**
 * Create mutation hook for InfraGetAllRecord
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { InfraGetAllRecordSelect, InfraGetAllRecordWithRelations, CreateInfraGetAllRecordInput } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { InfraGetAllRecordSelect, InfraGetAllRecordWithRelations, CreateInfraGetAllRecordInput, } from '../../orm/input-types';
/**
 * Mutation hook for creating a InfraGetAllRecord
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useCreateInfraGetAllRecordMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ name: 'New item' });
 * ```
 */
export declare function useCreateInfraGetAllRecordMutation<S extends InfraGetAllRecordSelect>(params: {
    selection: {
        fields: S & InfraGetAllRecordSelect;
    } & HookStrictSelect<NoInfer<S>, InfraGetAllRecordSelect>;
} & Omit<UseMutationOptions<{
    createInfraGetAllRecord: {
        infraGetAllRecord: InferSelectResult<InfraGetAllRecordWithRelations, S>;
    };
}, Error, CreateInfraGetAllRecordInput['infraGetAllRecord']>, 'mutationFn'>): UseMutationResult<{
    createInfraGetAllRecord: {
        infraGetAllRecord: InferSelectResult<InfraGetAllRecordWithRelations, S>;
    };
}, Error, CreateInfraGetAllRecordInput['infraGetAllRecord']>;
