/**
 * 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 } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { ApiSchemaSelect, ApiSchemaWithRelations } 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 } = useDeleteApiSchemaMutation({
 *   selection: { fields: { id: true } },
 * });
 *
 * mutate({ id: 'value-to-delete' });
 * ```
 */
export declare function useDeleteApiSchemaMutation<S extends ApiSchemaSelect>(params: {
    selection: {
        fields: S & ApiSchemaSelect;
    } & HookStrictSelect<NoInfer<S>, ApiSchemaSelect>;
} & Omit<UseMutationOptions<{
    deleteApiSchema: {
        apiSchema: InferSelectResult<ApiSchemaWithRelations, S>;
    };
}, Error, {
    id: string;
}>, 'mutationFn'>): UseMutationResult<{
    deleteApiSchema: {
        apiSchema: InferSelectResult<ApiSchemaWithRelations, S>;
    };
}, Error, {
    id: string;
}>;
