interface NamedPromise { promise: Promise; name: string; } /** * Generates a service and a name of a service. * Name should be used in a script. * Promise will wait a result from a script or will be resolved after `ttl` milliseconds. * @param ttl */ export declare function waitResult(ttl: number): NamedPromise; export declare function waitService(functionName: string, func: (args: any[]) => T, ttl: number): NamedPromise; export {}; //# sourceMappingURL=waitService.d.ts.map