import { Observable } from 'rxjs'; import { Content, ContentData, ContentProps, ToppyEventName } from './models'; export declare function getContent(data: ContentData, props?: ContentProps): Content; export declare function createId(): string; export declare function cssClass(method: 'add' | 'remove', cls: string[], target?: string): void; export declare function toCss(styleObj: any): string; export declare function percentToCss(max: any, percentage: string): string; export declare function setWH(src: any, host: any, key: any, value: any): any; export declare const BodyEl: HTMLBodyElement; declare class BusClass { private _e; send(from: string, name: ToppyEventName, data?: any): void; listen(from: string, name: ToppyEventName): Observable; stop(): void; } export declare const Bus: BusClass; export {};