import type { IndexCacheStore } from '../../../cache/index/store.ts'; import { IOResult, type ByteSource } from '../../../io/types.ts'; import { PathSpec, type MoveStrategy, type ReaddirFn, type StatFn } from '../../../types.ts'; import { type BackendKeyFn } from '../utils/copy.ts'; import type { FlagView } from '../../spec/types.ts'; export interface MvFlags { noClobber: boolean; verbose: boolean; update: string | null; backup: string | null; suffix: string; targetDir: PathSpec | string | null; noTargetDir: boolean; exchange: boolean; noCopy: boolean; } export declare function mvFlags(init?: Partial): MvFlags; export declare function parseFlags(fl: FlagView): MvFlags; export declare function mvGeneric(paths: PathSpec[], stat: StatFn, strategy: MoveStrategy, flags: MvFlags, index?: IndexCacheStore, backendKey?: BackendKeyFn, readdir?: ReaddirFn, guard?: (src: PathSpec, dst: PathSpec) => void): Promise<[ByteSource | null, IOResult]>; //# sourceMappingURL=mv.d.ts.map