import type { ComponentApiRequestContext } from '../../core/services/types';
import type { ExistingDocument } from '../../core/models/api/document';
import type { MutationOptions } from '../types';
export declare const deleteDocument: (context: ComponentApiRequestContext, documentId: string) => Promise<ExistingDocument>;
export declare const useDeleteDocument: (options?: Omit<MutationOptions<ExistingDocument, Error, string>, "mutationFn">) => import("@tanstack/preact-query").UseMutationResult<ExistingDocument, Error, string, unknown>;
