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