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