import { WeavyClient } from './weavy';
import { Constructor } from '../types/generic.types';
import { RealtimeEventType, RealtimeNotificationEventType, RealtimeNotificationsEventDetailType, RealtimeNotificationsEventType } from '../types/realtime.types';
import { WyNotificationsEventType } from '../types/notifications.events';
export interface WeavyRealtimeProps {
    /**
     * Enable the realtime `wy-notifications` event.
     */
    notificationEvents: boolean;
}
export type { WyNotificationsEventType, RealtimeNotificationsEventDetailType, RealtimeNotificationEventType, RealtimeNotificationsEventType, };
export declare const WeavyRealtimeMixin: <TBase extends Constructor<WeavyClient>>(Base: TBase) => {
    new (...args: any[]): {
        _notificationEvents: boolean;
        get notificationEvents(): boolean;
        set notificationEvents(enable: boolean | null | undefined);
        dispatchRealtimeEvent: (realtimeEvent: RealtimeEventType) => void;
        realtimeSubscribe(): void;
        realtimeUnsubscribe(): void;
        destroy(this: /*elided*/ any & WeavyClient & import('./weavy').StrictWeavyOptions & import('./settings').WeavySettingsProps & import('./network').WeavyNetworkProps & import('./authentication').WeavyAuthenticationProps & import('./localization').WeavyLocalizationProps & import('./connection').WeavyConnectionProps & import('./query').WeavyQueryProps & import('./version').WeavyVersionProps & import('./fetch').WeavyFetchProps & import('./styles').WeavyStylesProps & WeavyRealtimeProps & import('./api').WeavyApiProps & import('./context').WeavyContextProviderProps): void;
        readonly weavySid: string;
        readonly weavyId: string;
        readonly host: HTMLElement;
        cloudFilePickerUrl: string | URL;
        disableEnvironmentImports: boolean;
        gcTime: number;
        scrollBehavior: "smooth" | "instant" | "auto";
        staleTime: number;
        tokenFactoryRetryDelay: number;
        tokenFactoryTimeout: number;
        "__#16@#resolveUrl"?: (url: URL) => void;
        "__#16@#whenUrl": Promise<unknown>;
        whenUrl(): Promise<void>;
        "__#16@#url"?: URL;
        get url(): URL | undefined;
        set url(url: string | URL | null | undefined);
        readonly cachePrefix: string;
        reset(): Promise<void>;
        "__#16@#isDestroyed": boolean;
        readonly isDestroyed: boolean;
    };
} & TBase;
//# sourceMappingURL=realtime.d.ts.map