/// <reference types="node" />
import { PathLike } from 'fs';
import { Loggable } from '../logging';
export declare class Workspace extends Loggable {
    private static readonly NULL_BYTES;
    private _root;
    private _restrictToWorkspace;
    constructor(workspaceRoot: PathLike, restrictToWorkspace: boolean);
    get root(): string;
    get restrictToWorkspace(): boolean;
    static makeWorkspace(workspaceDirectory: PathLike, ...args: any[]): string;
    getPath(relativePath: PathLike): string;
    private static _sanitizePath;
}
