import { WeavyOptions, Destructable, WeavyClientOptionsType, WeavyTokenFactory, StrictWeavyOptions, Resettable } from '../types/weavy.types';
import { WeavyApiProps, AppType } from './api';
import { WeavyAuthenticationProps } from './authentication';
import { WeavyConnectionProps } from './connection';
import { WeavyFetchProps } from './fetch';
import { WeavyLocalizationProps } from './localization';
import { WeavyNetworkProps } from './network';
import { WeavyQueryProps } from './query';
import { WeavyRealtimeProps, WyNotificationsEventType } from './realtime';
import { WeavySettingsProps } from './settings';
import { WeavyStylesProps } from './styles';
import { WeavyVersionProps } from './version';
import { WeavyContextProviderProps } from './context';
import { WeavyComponentSettingProps } from '../classes/weavy-component';
export type { WeavyOptions, Destructable, WeavyClientOptionsType, WeavyTokenFactory, StrictWeavyOptions };
export type * from './api';
export type * from './authentication';
export type * from './connection';
export type * from './fetch';
export type * from './localization';
export type * from './network';
export type * from './query';
export type * from './realtime';
export type * from './settings';
export type * from './styles';
export type * from './version';
/**
 * Context for Weavy that handles communication with the server, data handling and common options.
 * Requires a `url` to the Weavy environment and an async `tokenFactory` that provides user access tokens.
 *
 * @fires wy-notifications {WyNotificationsEventType}
 */
export type WeavyType = WeavyClient & StrictWeavyOptions & WeavySettingsProps & WeavyNetworkProps & WeavyAuthenticationProps & WeavyLocalizationProps & WeavyConnectionProps & WeavyQueryProps & WeavyVersionProps & WeavyFetchProps & WeavyStylesProps & WeavyRealtimeProps & WeavyApiProps & WeavyContextProviderProps;
/**
 * Context for Weavy that handles communication with the server, data handling and common options.
 * Requires a `url` to the Weavy environment and an async `tokenFactory` that provides user access tokens.
 *
 * @fires wy-notifications {WyNotificationsEventType}
 */
export declare class WeavyClient implements WeavyOptions, Resettable, Destructable {
    #private;
    /**
     * The semver version of the package.
     */
    static readonly version: string;
    /**
     * The Weavy source name; package name.
     */
    static readonly sourceName: string;
    static defaults: StrictWeavyOptions & WeavyComponentSettingProps;
    readonly weavySid: string;
    readonly weavyId: string;
    /**
     * The host where the Weavy context is provided.
     */
    readonly host: HTMLElement;
    cloudFilePickerUrl: string | URL;
    disableEnvironmentImports: boolean;
    gcTime: number;
    scrollBehavior: "smooth" | "instant" | "auto";
    staleTime: number;
    tokenFactoryRetryDelay: number;
    tokenFactoryTimeout: number;
    whenUrl(): Promise<void>;
    /**
     * The URL to the weavy environment.
     */
    get url(): URL | undefined;
    set url(url: string | URL | null | undefined);
    /**
     * Prefix to use for caches.
     */
    get cachePrefix(): string;
    constructor(options?: WeavyClientOptionsType);
    reset(): Promise<void>;
    get isDestroyed(): boolean;
    destroy(): void;
}
declare const Weavy_base: {
    new (...args: any[]): {
        "__#15@#hostContextProvider"?: import('../utils/context-provider').WyContextProvider<typeof import('..').WeavyContext>;
        updateContext(): void;
        destroy(): void;
        readonly weavySid: string;
        readonly weavyId: string;
        /**
         * The host where the Weavy context is provided.
         */
        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;
        /**
         * The URL to the weavy environment.
         */
        get url(): URL | undefined;
        set url(url: string | URL | null | undefined);
        /**
         * Prefix to use for caches.
         */
        readonly cachePrefix: string;
        reset(): Promise<void>;
        "__#16@#isDestroyed": boolean;
        readonly isDestroyed: boolean;
    };
} & {
    new (...args: any[]): {
        api: {
            apps: {
                getApp<TApp extends AppType>(uid: string): Promise<TApp>;
            };
        };
        readonly weavySid: string;
        readonly weavyId: string;
        /**
         * The host where the Weavy context is provided.
         */
        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;
        /**
         * The URL to the weavy environment.
         */
        get url(): URL | undefined;
        set url(url: string | URL | null | undefined);
        /**
         * Prefix to use for caches.
         */
        readonly cachePrefix: string;
        reset(): Promise<void>;
        "__#16@#isDestroyed": boolean;
        readonly isDestroyed: boolean;
        destroy(): void;
    };
} & {
    new (...args: any[]): {
        _notificationEvents: boolean;
        get notificationEvents(): boolean;
        set notificationEvents(enable: boolean | null | undefined);
        dispatchRealtimeEvent: (realtimeEvent: import('../types/realtime.types').RealtimeEventType) => void;
        realtimeSubscribe(): void;
        realtimeUnsubscribe(): void;
        destroy(this: /*elided*/ any & WeavyClient & StrictWeavyOptions & WeavySettingsProps & WeavyNetworkProps & WeavyAuthenticationProps & WeavyLocalizationProps & WeavyConnectionProps & WeavyQueryProps & WeavyVersionProps & WeavyFetchProps & WeavyStylesProps & WeavyRealtimeProps & WeavyApiProps & WeavyContextProviderProps): void;
        readonly weavySid: string;
        readonly weavyId: string;
        /**
         * The host where the Weavy context is provided.
         */
        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;
        /**
         * The URL to the weavy environment.
         */
        get url(): URL | undefined;
        set url(url: string | URL | null | undefined);
        /**
         * Prefix to use for caches.
         */
        readonly cachePrefix: string;
        reset(): Promise<void>;
        "__#16@#isDestroyed": boolean;
        readonly isDestroyed: boolean;
    };
} & {
    new (...args: any[]): {
        _locales: Map<string, import('@lit/localize').LocaleModule | Promise<import('@lit/localize').LocaleModule> | (() => Promise<import('@lit/localize').LocaleModule>)>;
        get locales(): WeavyLocalizationProps["locales"];
        set locales(locales: WeavyLocalizationProps["locales"] | null | undefined);
        _locale: string;
        _localization?: ReturnType<typeof import('@lit/localize').configureLocalization>;
        readonly localization: {
            getLocale: (() => string) & {
                _LIT_LOCALIZE_GET_LOCALE_?: never;
            };
            setLocale: ((newLocale: string) => Promise<void>) & {
                _LIT_LOCALIZE_SET_LOCALE_?: never;
            };
        } | undefined;
        get locale(): string;
        set locale(newLocale: string | null | undefined);
        loadLocale(newLocale: string): Promise<import('@lit/localize').LocaleModule>;
        configureLocalization(): void;
        readonly weavySid: string;
        readonly weavyId: string;
        /**
         * The host where the Weavy context is provided.
         */
        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;
        /**
         * The URL to the weavy environment.
         */
        get url(): URL | undefined;
        set url(url: string | URL | null | undefined);
        /**
         * Prefix to use for caches.
         */
        readonly cachePrefix: string;
        reset(): Promise<void>;
        "__#16@#isDestroyed": boolean;
        readonly isDestroyed: boolean;
        destroy(): void;
    };
    readonly sourceLocale: "" | "en";
} & {
    new (...args: any[]): {
        _resolveConnectionRequested?: ((value: unknown) => void) | undefined;
        _whenConnectionRequested: Promise<unknown>;
        whenConnectionRequested(): Promise<void>;
        _resolveConnectionCreated?: ((value: import('../../@microsoft/signalr/dist/browser/signalr.min.js').HubConnection) => void) | undefined;
        _whenConnectionCreated: Promise<import('../../@microsoft/signalr/dist/browser/signalr.min.js').HubConnection>;
        whenConnectionCreated(): Promise<import('../../@microsoft/signalr/dist/browser/signalr.min.js').HubConnection>;
        _connection?: import('../../@microsoft/signalr/dist/browser/signalr.min.js').HubConnection;
        _connectionEventListeners: {
            name: string;
            callback: (realtimeEvent: never) => void;
        }[];
        signalRAccessTokenRefresh: boolean;
        _whenConnectionStartedResolve?: ((value: import('../../@microsoft/signalr/dist/browser/signalr.min.js').HubConnection) => void) | undefined;
        _whenConnectionStartedReject?: ((reason: unknown) => void) | undefined;
        _whenConnectionStarted: Promise<import('../../@microsoft/signalr/dist/browser/signalr.min.js').HubConnection>;
        readonly rtmConnection: import('../../@microsoft/signalr/dist/browser/signalr.min.js').HubConnection | undefined;
        whenConnectionStarted(): Promise<import('../../@microsoft/signalr/dist/browser/signalr.min.js').HubConnection>;
        createConnection(this: /*elided*/ any & WeavyClient & StrictWeavyOptions & WeavySettingsProps & WeavyNetworkProps & WeavyAuthenticationProps & WeavyLocalizationProps & WeavyConnectionProps & WeavyQueryProps & WeavyVersionProps & WeavyFetchProps & WeavyStylesProps & WeavyRealtimeProps & WeavyApiProps & WeavyContextProviderProps): Promise<import('../../@microsoft/signalr/dist/browser/signalr.min.js').HubConnection>;
        disconnect(this: /*elided*/ any & WeavyClient & StrictWeavyOptions & WeavySettingsProps & WeavyNetworkProps & WeavyAuthenticationProps & WeavyLocalizationProps & WeavyConnectionProps & WeavyQueryProps & WeavyVersionProps & WeavyFetchProps & WeavyStylesProps & WeavyRealtimeProps & WeavyApiProps & WeavyContextProviderProps): Promise<void>;
        connect(this: /*elided*/ any & WeavyClient & StrictWeavyOptions & WeavySettingsProps & WeavyNetworkProps & WeavyAuthenticationProps & WeavyLocalizationProps & WeavyConnectionProps & WeavyQueryProps & WeavyVersionProps & WeavyFetchProps & WeavyStylesProps & WeavyRealtimeProps & WeavyApiProps & WeavyContextProviderProps): Promise<import('../../@microsoft/signalr/dist/browser/signalr.min.js').HubConnection>;
        subscribe<T extends import('../types/realtime.types').RealtimeEventType | import('../types/realtime.types').RealtimeDataType>(group: string | null, event: string, callback: (realtimeEvent: T) => void): Promise<boolean>;
        unsubscribe<T extends import('../types/realtime.types').RealtimeEventType | import('../types/realtime.types').RealtimeDataType>(group: string | null, event: string, callback: (realTimeEvent: T) => void): Promise<void>;
        destroy(this: /*elided*/ any & WeavyClient & StrictWeavyOptions & WeavySettingsProps & WeavyNetworkProps & WeavyAuthenticationProps & WeavyLocalizationProps & WeavyConnectionProps & WeavyQueryProps & WeavyVersionProps & WeavyFetchProps & WeavyStylesProps & WeavyRealtimeProps & WeavyApiProps & WeavyContextProviderProps): void;
        readonly weavySid: string;
        readonly weavyId: string;
        /**
         * The host where the Weavy context is provided.
         */
        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;
        /**
         * The URL to the weavy environment.
         */
        get url(): URL | undefined;
        set url(url: string | URL | null | undefined);
        /**
         * Prefix to use for caches.
         */
        readonly cachePrefix: string;
        reset(): Promise<void>;
        "__#16@#isDestroyed": boolean;
        readonly isDestroyed: boolean;
    };
} & {
    new (...args: any[]): {
        _networkEvents: Set<(status: import('../types/server.types').NetworkStatus) => void>;
        _connectionState: import('../types/server.types').ConnectionState;
        _serverState: import('../types/server.types').ServerState;
        _networkState: import('../types/server.types').NetworkState;
        _networkStateIsPending: boolean;
        networkState: import('../types/server.types').NetworkState;
        serverState: import('../types/server.types').ServerState;
        connectionState: import('../types/server.types').ConnectionState;
        networkStateIsPending: boolean;
        readonly network: import('../types/server.types').NetworkStatus;
        triggerNetworkChange(): void;
        addNetworkListener(callback: (state: import('../types/server.types').NetworkStatus) => void): void;
        removeNetworkListener(callback: (state: import('../types/server.types').NetworkStatus) => void): void;
        readonly weavySid: string;
        readonly weavyId: string;
        /**
         * The host where the Weavy context is provided.
         */
        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;
        /**
         * The URL to the weavy environment.
         */
        get url(): URL | undefined;
        set url(url: string | URL | null | undefined);
        /**
         * Prefix to use for caches.
         */
        readonly cachePrefix: string;
        reset(): Promise<void>;
        "__#16@#isDestroyed": boolean;
        readonly isDestroyed: boolean;
        destroy(): void;
    };
} & {
    new (...args: any[]): {
        _resolveTokenFactory?: ((value: unknown) => void) | undefined;
        _whenTokenFactory: Promise<unknown>;
        whenTokenFactory(): Promise<void>;
        _resolveUrlAndTokenFactory?: ((value: unknown) => void) | undefined;
        _whenUrlAndTokenFactory: Promise<unknown>;
        whenUrlAndTokenFactory(): Promise<void>;
        _resolveTokenIsValid?: ((value: unknown) => void) | undefined;
        _whenTokenIsValid: Promise<unknown>;
        whenTokenIsValid(): Promise<void>;
        _tokenFactory?: WeavyTokenFactory;
        get tokenFactory(): WeavyTokenFactory | undefined;
        set tokenFactory(tokenFactory: WeavyTokenFactory | null | undefined);
        _tokenUrl?: URL;
        get tokenUrl(): URL | undefined;
        set tokenUrl(tokenUrl: string | URL | null | undefined);
        _tokenPromise: Promise<string> | null;
        _token: string;
        _validateToken(token: unknown): boolean;
        _validTokenFromFactory: (refresh: boolean) => Promise<string>;
        getToken(refresh?: boolean): Promise<string>;
        readonly weavySid: string;
        readonly weavyId: string;
        /**
         * The host where the Weavy context is provided.
         */
        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;
        /**
         * The URL to the weavy environment.
         */
        get url(): URL | undefined;
        set url(url: string | URL | null | undefined);
        /**
         * Prefix to use for caches.
         */
        readonly cachePrefix: string;
        reset(): Promise<void>;
        "__#16@#isDestroyed": boolean;
        readonly isDestroyed: boolean;
        destroy(): void;
    };
} & {
    new (...args: any[]): {
        _hostIsConnectedObserver?: ResizeObserver;
        _queryClient: import('@tanstack/query-core').QueryClient;
        _unsubscribeQueryClient?: (() => void) | undefined;
        _sessionStoragePersister?: import('@tanstack/query-persist-client-core').Persister;
        readonly queryClient: import('@tanstack/query-core').QueryClient;
        initQueryClient(): Promise<void>;
        reset(): Promise<void>;
        disconnectQueryClient(): Promise<void>;
        destroy(): void;
        readonly weavySid: string;
        readonly weavyId: string;
        /**
         * The host where the Weavy context is provided.
         */
        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;
        /**
         * The URL to the weavy environment.
         */
        get url(): URL | undefined;
        set url(url: string | URL | null | undefined);
        /**
         * Prefix to use for caches.
         */
        readonly cachePrefix: string;
        "__#16@#isDestroyed": boolean;
        readonly isDestroyed: boolean;
    };
} & {
    new (...args: any[]): {
        readonly version: string;
        checkVersion(this: /*elided*/ any & WeavyClient & StrictWeavyOptions & WeavySettingsProps & WeavyNetworkProps & WeavyAuthenticationProps & WeavyLocalizationProps & WeavyConnectionProps & WeavyQueryProps & WeavyVersionProps & WeavyFetchProps & WeavyStylesProps & WeavyRealtimeProps & WeavyApiProps & WeavyContextProviderProps, version?: string): Promise<void>;
        readonly weavySid: string;
        readonly weavyId: string;
        /**
         * The host where the Weavy context is provided.
         */
        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;
        /**
         * The URL to the weavy environment.
         */
        get url(): URL | undefined;
        set url(url: string | URL | null | undefined);
        /**
         * Prefix to use for caches.
         */
        readonly cachePrefix: string;
        reset(): Promise<void>;
        "__#16@#isDestroyed": boolean;
        readonly isDestroyed: boolean;
        destroy(): void;
    };
} & {
    new (...args: any[]): {
        fetchOptions(this: /*elided*/ any & WeavyClient & StrictWeavyOptions & WeavySettingsProps & WeavyNetworkProps & WeavyAuthenticationProps & WeavyLocalizationProps & WeavyConnectionProps & WeavyQueryProps & WeavyVersionProps & WeavyFetchProps & WeavyStylesProps & WeavyRealtimeProps & WeavyApiProps & WeavyContextProviderProps, options?: import('../types/http.types').FetchOptions, authorized?: boolean): Promise<RequestInit>;
        fetch(this: /*elided*/ any & WeavyClient & StrictWeavyOptions & WeavySettingsProps & WeavyNetworkProps & WeavyAuthenticationProps & WeavyLocalizationProps & WeavyConnectionProps & WeavyQueryProps & WeavyVersionProps & WeavyFetchProps & WeavyStylesProps & WeavyRealtimeProps & WeavyApiProps & WeavyContextProviderProps, url: string | URL, options?: import('../types/http.types').FetchOptions, retry?: boolean): Promise<Response>;
        upload(this: /*elided*/ any & WeavyClient & StrictWeavyOptions & WeavySettingsProps & WeavyNetworkProps & WeavyAuthenticationProps & WeavyLocalizationProps & WeavyConnectionProps & WeavyQueryProps & WeavyVersionProps & WeavyFetchProps & WeavyStylesProps & WeavyRealtimeProps & WeavyApiProps & WeavyContextProviderProps, url: string | URL, method: import('../types/http.types').HttpUploadMethodType, body: string | FormData, contentType?: import('../types/http.types').HeaderContentType, onProgress?: ((progress: number) => void) | undefined, retry?: boolean): Promise<Response>;
        get(this: /*elided*/ any & WeavyClient & StrictWeavyOptions & WeavySettingsProps & WeavyNetworkProps & WeavyAuthenticationProps & WeavyLocalizationProps & WeavyConnectionProps & WeavyQueryProps & WeavyVersionProps & WeavyFetchProps & WeavyStylesProps & WeavyRealtimeProps & WeavyApiProps & WeavyContextProviderProps, url: string | URL): Promise<Response>;
        post(this: /*elided*/ any & WeavyClient & StrictWeavyOptions & WeavySettingsProps & WeavyNetworkProps & WeavyAuthenticationProps & WeavyLocalizationProps & WeavyConnectionProps & WeavyQueryProps & WeavyVersionProps & WeavyFetchProps & WeavyStylesProps & WeavyRealtimeProps & WeavyApiProps & WeavyContextProviderProps, url: string | URL, method: import('../types/http.types').HttpMethodType, body?: BodyInit, contentType?: import('../types/http.types').HeaderContentType): Promise<Response>;
        readonly weavySid: string;
        readonly weavyId: string;
        /**
         * The host where the Weavy context is provided.
         */
        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;
        /**
         * The URL to the weavy environment.
         */
        get url(): URL | undefined;
        set url(url: string | URL | null | undefined);
        /**
         * Prefix to use for caches.
         */
        readonly cachePrefix: string;
        reset(): Promise<void>;
        "__#16@#isDestroyed": boolean;
        readonly isDestroyed: boolean;
        destroy(): void;
    };
} & {
    new (...args: any[]): {
        readonly weavySid: string;
        readonly weavyId: string;
        /**
         * The host where the Weavy context is provided.
         */
        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;
        /**
         * The URL to the weavy environment.
         */
        get url(): URL | undefined;
        set url(url: string | URL | null | undefined);
        /**
         * Prefix to use for caches.
         */
        readonly cachePrefix: string;
        reset(): Promise<void>;
        "__#16@#isDestroyed": boolean;
        readonly isDestroyed: boolean;
        destroy(): void;
    };
} & {
    new (...args: any[]): {
        _notifications?: WeavySettingsProps["notifications"];
        notifications: import('../types/notifications.types').NotificationsAppearanceType;
        _notificationsBadge?: WeavySettingsProps["notificationsBadge"];
        notificationsBadge: import('../types/notifications.types').NotificationsBadgeType;
        _reactions?: WeavySettingsProps["reactions"];
        reactions: string;
        readonly weavySid: string;
        readonly weavyId: string;
        /**
         * The host where the Weavy context is provided.
         */
        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;
        /**
         * The URL to the weavy environment.
         */
        get url(): URL | undefined;
        set url(url: string | URL | null | undefined);
        /**
         * Prefix to use for caches.
         */
        readonly cachePrefix: string;
        reset(): Promise<void>;
        "__#16@#isDestroyed": boolean;
        readonly isDestroyed: boolean;
        destroy(): void;
    };
} & typeof WeavyClient;
/**
 * Context for Weavy that handles communication with the server, data handling and common options.
 * Requires a `url` to the Weavy environment and an async `tokenFactory` that provides user access tokens.
 *
 * @fires wy-notifications {WyNotificationsEventType}
 */
export declare class Weavy extends Weavy_base implements WeavyType {
}
export type { WyNotificationsEventType, AppType };
//# sourceMappingURL=weavy.d.ts.map