import { Source } from "./source.js"; export declare class SourceBase implements Source { #private; /** * Called to parse all fragments in this source. */ protected parse(): F[]; /** * Called to create an updated version of this source. */ update?(context: Source.UpdateContext): Source.UpdateResult; /** * Get an array of filenames that this source is compiled to. * * If this is not implemented or returns an empty array, * fragment ids from this source are added to the * manifest as global fragments. */ getOutputFilenames?(): string[]; /** * An array of all fragments in this source. */ get fragments(): readonly F[]; /** * A map of ids to fragments. * * Note that this may not contain all fragments if there are any duplicate fragment ids. */ get fragmentMap(): ReadonlyMap; }