import { BaseImporter, Configuration, ImportedCompiledCssFile, ImportedFile, Importer, Syntax } from "@css-blocks/core"; import type { FS as MergedFileSystem } from "fs-merger"; export declare const IDENTIFIER_PREFIX = "broccoli-tree:"; export declare const EMBEDDED_DEFINITION_TAG = "#blockDefinitionURL"; export declare function isBroccoliTreeIdentifier(identifier: string | null): boolean; export declare function identToPath(input: MergedFileSystem, identifier: string): string; export declare function pathToIdent(relativePath: string): string; /** * Knows how to import blocks from a broccoli merged filesystem interface. */ export declare class BroccoliTreeImporter extends BaseImporter { fallbackImporter: Importer; input: MergedFileSystem; namespace: string | null; constructor(input: MergedFileSystem, namespace: string | null, fallbackImporter: Importer); identifier(fromIdentifier: string | null, importPath: string, config: Readonly): string; import(identifier: string, config: Readonly): Promise; importSync(identifier: string, config: Readonly): ImportedFile | ImportedCompiledCssFile; defaultName(identifier: string, configuration: Readonly): string; filesystemPath(identifier: string, config: Readonly): string | null; debugIdentifier(identifier: string, config: Readonly): string; syntax(identifier: string, config: Readonly): Syntax; } //# sourceMappingURL=BroccoliTreeImporter.d.ts.map