import { PathSpec } from '../../../../types.ts'; import type { DispatchFn } from '../../../../runtime/types.ts'; import type { Namespace } from '../../../mount/namespace/namespace.ts'; import type { Result } from '../types.ts'; export declare function posixRelative(target: string, startDir: string): string; export declare function linkFlags(args: (string | PathSpec)[], known: string): Set; export declare function followPaths(namespace: Namespace, items: (string | PathSpec)[], followLast?: boolean, slashFollows?: boolean): (string | PathSpec)[]; export declare function acceptsLine(name: string, args: readonly string[], items: (string | PathSpec)[], cwd: string): boolean; export declare function stripLinkOperands(name: string, dispatch: DispatchFn, namespace: Namespace, items: (string | PathSpec)[], args: readonly string[], cwd: string): Promise<[(string | PathSpec)[], number, string[]]>; export interface PreparedMv { items: (string | PathSpec)[]; postUnlink: string | null; postRename: [string, string] | null; early: Result | null; } export declare function prepareMv(namespace: Namespace, dispatch: DispatchFn, items: (string | PathSpec)[]): Promise; //# sourceMappingURL=links.d.ts.map