import type { LinkView } from '../../../../view/types.ts';
import { PathSpec, type WalkProbe } from '../../../../types.ts';
import type { GenericCommand } from '../adapter.ts';
/**
 * Make one mkdir operand, or the line GNU reports when it cannot.
 *
 * One unusable operand is not an aborted command: GNU reports it and still
 * makes the remaining directories. The error names the path to quote:
 * usually the operand, but `mkdir -p` blames the component of the chain it
 * tripped on. Every mkdir makes its operands here, a keyed store's override
 * included, so they report alike. Mirrors Python's make_directory.
 */
export declare function createdNames(path: PathSpec, parents: boolean, links?: LinkView | null, probe?: WalkProbe | null): Promise<string[]>;
export declare function createdLines(names: string[]): string[];
export declare function makeDirectory(mkdir: (path: PathSpec, parents?: boolean) => Promise<void>, path: PathSpec, parents: boolean, root: string, links?: LinkView | null, probe?: WalkProbe | null): Promise<string | null>;
export declare const BUILDER: GenericCommand;
//# sourceMappingURL=mkdir.d.ts.map