import { type Ignore } from 'ignore'; import { SiteConfig, SiteConfigStyle } from './SiteConfig.js'; /** * Manages site assets such as CSS, JS, fonts, and images. * Handles copying, building, and removing assets, as well as handling style reloads. */ export declare class SiteAssetsManager { rootPath: string; outputPath: string; siteAssetsDestPath: string; siteConfig: SiteConfig; constructor(rootPath: string, outputPath: string); listAssets(fileIgnore: Ignore): string[]; _buildMultipleAssets(filePaths: string | string[]): Promise; _removeMultipleAssets(filePaths: string | string[]): Promise; buildAssets(): Promise; /** * Handles the reloading of ignore attributes */ handleIgnoreReload(oldIgnore: string[]): Promise; /** * Handles the reloading of the style attribute if it has been modified */ handleStyleReload(oldStyle: SiteConfigStyle): Promise; /** * Copies Font Awesome assets to the assets folder */ copyFontAwesomeAsset(): Promise; /** * Copies Octicon assets to the assets folder */ copyOcticonsAsset(): Promise; /** * Copies Google Material Icons assets to the assets folder */ copyMaterialIconsAsset(): Promise; /** * Copies core-web bundles and external assets to the assets output folder */ copyCoreWebAsset(): Promise; copyBootstrapIconsAsset(): Promise; /** * Copies bootstrapTheme to the assets folder if a valid bootstrapTheme is specified * @param isRebuild only true if it is a rebuild */ copyBootstrapTheme(isRebuild: boolean): Promise; /** * Build/copy assets that are specified in filePaths * @param filePaths a single path or an array of paths corresponding to the assets to build */ buildAsset: (this: any, newItem?: string | string[] | undefined) => Promise; /** * Remove assets that are specified in filePaths * @param filePaths a single path or an array of paths corresponding to the assets to remove */ removeAsset: (this: any, newItem?: string | string[] | undefined) => Promise; } //# sourceMappingURL=SiteAssetsManager.d.ts.map