import type { Bundle } from "@createdreamtech/carti-core"; export declare const GLOBAL_PACKAGE_LISTING = ".bundles_index.json"; export interface Listing { [key: string]: Bundle[]; } export declare class BundleListing { dir: string; packageListingPath: string; constructor(dir: string, fileName: string); exists(): boolean; ensureExists(): void; add(path: string, bundle: Bundle[]): Promise; has(path: string): Promise; rm(path: string): Promise; getListing(): Promise; }