import { WeavyClient } from './weavy';
import { ConnectionState, NetworkState, NetworkStatus, ServerState } from '../types/server.types';
import { Constructor } from '../types/generic.types';
export interface WeavyNetworkProps {
    networkState: NetworkState;
    serverState: ServerState;
    connectionState: ConnectionState;
    networkStateIsPending: boolean;
    readonly network: NetworkStatus;
    triggerNetworkChange: () => void;
    addNetworkListener: (callback: (state: NetworkStatus) => void) => void;
    removeNetworkListener: (callback: (state: NetworkStatus) => void) => void;
}
export declare const WeavyNetworkMixin: <TBase extends Constructor<WeavyClient>>(Base: TBase) => {
    new (...args: any[]): {
        _networkEvents: Set<(status: NetworkStatus) => void>;
        _connectionState: ConnectionState;
        _serverState: ServerState;
        _networkState: NetworkState;
        _networkStateIsPending: boolean;
        networkState: NetworkState;
        serverState: ServerState;
        connectionState: ConnectionState;
        networkStateIsPending: boolean;
        readonly network: NetworkStatus;
        triggerNetworkChange(): void;
        addNetworkListener(callback: (state: NetworkStatus) => void): void;
        removeNetworkListener(callback: (state: NetworkStatus) => void): 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;
        destroy(): void;
    };
} & TBase;
//# sourceMappingURL=network.d.ts.map