import type { BoxAccessor } from '../../accessor/box.ts';
import type { PathSpec } from '../../types.ts';
import type { Handed } from '../../vfs/types.ts';
import { type BoxItem } from './api.ts';
/**
 * Delete a resolved file, held to the version read, else the one found.
 * Mirrors Python's `delete_resolved`.
 */
export declare function deleteResolved(accessor: BoxAccessor, path: PathSpec, lead: BoxItem): Promise<void>;
export declare function unlink(accessor: BoxAccessor, path: PathSpec, handed?: Handed): Promise<void>;
//# sourceMappingURL=unlink.d.ts.map