import { IFile, File } from './store/File.js';
import { FolderKind } from './kinds.js';
/**
 * A definition of a folder.
 */
export interface IFolder extends IFile {
    kind: typeof FolderKind;
}
/**
 * A definition of a folder.
 */
export declare class Folder extends File {
    kind: string;
    /**
     * Creates a new Folder object from a name.
     *
     * @param name The name to set.
     */
    static fromName(name: string): Folder;
    /**
     * @param input The environment definition used to restore the state.
     */
    constructor(input?: string | IFolder);
    /**
     * Creates a new environment clearing anything that is so far defined.
     */
    new(init: IFolder): this;
    /**
     * Checks whether the input is a definition of a folder.
     */
    static isFolder(input: unknown): boolean;
    toJSON(): IFolder;
}
//# sourceMappingURL=Folder.d.ts.map