import { Component, ContextManager, Event } from '..'; export interface LongLoadConstructorProps { /** * The number of loading processes to simulate * @zprop * @zgroup LongLoad * @zgrouppriority 10 * @zdefault 10 */ numberOfLoads?: number; /** * The shortest time (in milliseconds) that a given load should take * @zprop * @zgroup LongLoad * @zgrouppriority 10 * @ztype time-milliseconds * @zdefault 500 */ minimumLoadTime: number; /** * The shortest time (in milliseconds) that a given load should take * @zprop * @zgroup LongLoad * @zgrouppriority 10 * @ztype time-milliseconds * @zdefault 5000 */ maximumLoadTime: number; /** * If the long loading process should occur in production builds (in addition to development builds) * @zprop * @zgroup LongLoad * @zgrouppriority 10 * @zdefault false */ runInProduction: boolean; } /** * Simulates long random loading times to facilitate development and debugging of loading processes. * * @zcomponent * @zicon settings * @zgroup Advanced */ export declare class LongLoad extends Component { /** @zui */ readonly onLoad: Event<[]>; /** * Creates an instance of LongLoad. * @param contextManager - The current ContextManager * @param props - The constructor properties. * @returns - A new LongLoad instance. */ constructor(contextManager: ContextManager, props: LongLoadConstructorProps); }