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