import { UseMutationOptions } from '@tanstack/react-query'; import type { ErrorV3 } from '../schemas/ErrorV3'; import type { ResponseWithPagination } from '../helpers'; import { FetcherOptions } from '../../../../fetcher/index.js'; export interface DeletePackageV3MutationPathParams { id: string; } export interface DeletePackageV3MutationQueryParams { account_identifier: string; force?: boolean; } export type DeletePackageV3OkResponse = ResponseWithPagination; export type DeletePackageV3ErrorResponse = ErrorV3; export interface DeletePackageV3Props extends DeletePackageV3MutationPathParams, Omit, 'url'> { queryParams: DeletePackageV3MutationQueryParams; } export declare function deletePackageV3(props: DeletePackageV3Props): Promise; /** * Delete a package/image */ export declare function useDeletePackageV3Mutation(options?: Omit, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult;