/**
 * API endpoint configurations: each record defines a PostGraphile/PostgREST API with its database role and public access settings
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { ApiSelect, ApiWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { ApiSelect, ApiWithRelations } from '../../orm/input-types';
/**
 * API endpoint configurations: each record defines a PostGraphile/PostgREST API with its database role and public access settings
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useDeleteApiMutation({
 *   selection: { fields: { id: true } },
 * });
 *
 * mutate({ id: 'value-to-delete' });
 * ```
 */
export declare function useDeleteApiMutation<S extends ApiSelect>(params: {
    selection: {
        fields: S & ApiSelect;
    } & HookStrictSelect<NoInfer<S>, ApiSelect>;
} & Omit<UseMutationOptions<{
    deleteApi: {
        api: InferSelectResult<ApiWithRelations, S>;
    };
}, Error, {
    id: string;
}>, 'mutationFn'>): UseMutationResult<{
    deleteApi: {
        api: InferSelectResult<ApiWithRelations, S>;
    };
}, Error, {
    id: string;
}>;
