type CanonicalFs = {
    realpath(targetPath: string): Promise<string>;
};
export declare function resolveContainedPath(rootDir: string, configuredPath: string, field: string): string;
export declare function assertCanonicalContainedPath(rootDir: string, targetPath: string, field: string): Promise<void>;
export declare function assertFsCanonicalContainedPath(fs: CanonicalFs, rootDir: string, targetPath: string, field: string): Promise<void>;
export declare function assertFsCanonicalContainedPathIfPresent(fs: CanonicalFs, rootDir: string, targetPath: string, field: string): Promise<boolean>;
export declare function assertCanonicalDestinationPath(rootDir: string, targetPath: string, field: string): Promise<void>;
export {};
