/**
 * Join table linking APIs to the database schemas they expose; controls which schemas are accessible through each API
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { ApiSchemaSelect, ApiSchemaWithRelations, CreateApiSchemaInput } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { ApiSchemaSelect, ApiSchemaWithRelations, CreateApiSchemaInput, } from '../../orm/input-types';
/**
 * Join table linking APIs to the database schemas they expose; controls which schemas are accessible through each API
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useCreateApiSchemaMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ name: 'New item' });
 * ```
 */
export declare function useCreateApiSchemaMutation<S extends ApiSchemaSelect>(params: {
    selection: {
        fields: S & ApiSchemaSelect;
    } & HookStrictSelect<NoInfer<S>, ApiSchemaSelect>;
} & Omit<UseMutationOptions<{
    createApiSchema: {
        apiSchema: InferSelectResult<ApiSchemaWithRelations, S>;
    };
}, Error, CreateApiSchemaInput['apiSchema']>, 'mutationFn'>): UseMutationResult<{
    createApiSchema: {
        apiSchema: InferSelectResult<ApiSchemaWithRelations, S>;
    };
}, Error, CreateApiSchemaInput['apiSchema']>;
