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