import { type ProgressNotificationCallback } from "./app-services/SyncSession"; import type { Realm } from "./Realm"; export declare class ProgressRealmPromise implements Promise { /** * Cancels the download of the Realm * If multiple `ProgressRealmPromise` instances are in progress for the same Realm, then canceling one of them * will cancel all of them. */ cancel(): void; /** * Register to receive progress notifications while the download is in progress. * @param callback Called multiple times as the client receives data. */ progress(callback: ProgressNotificationCallback): this; then: (onfulfilled?: ((value: Realm) => TResult1 | PromiseLike) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike) | null | undefined) => Promise; catch: (onrejected?: ((reason: any) => TResult | PromiseLike) | null | undefined) => Promise; finally: (onfinally?: (() => void) | null | undefined) => Promise; get [Symbol.toStringTag](): string; } //# sourceMappingURL=ProgressRealmPromise.d.ts.map