import { PathLike } from "node:fs";
import { type LoomSourceAdapter } from "@loom-io/core";
import { Adapter } from "../core/adapter.js";
import { Directory, LoomFile } from "@loom-io/core/internal";
export declare class FilesystemAdapter implements LoomSourceAdapter {
    protected adapter: Adapter;
    protected rootdir: PathLike;
    constructor(rootdir?: PathLike);
    file(path: string): LoomFile;
    dir(path: string): Directory;
    getFullPath(dirOrFile: Directory | LoomFile, ignoreAdapter?: boolean): string;
}
