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