import { WeavyClient } from './weavy';
import { QueryClient } from '@tanstack/query-core';
import { Persister } from '@tanstack/query-persist-client-core';
import { Constructor } from '../types/generic.types';
export interface WeavyQueryProps {
    queryClient: QueryClient;
    initQueryClient: () => void;
    disconnectQueryClient: () => Promise<void>;
}
export declare const WeavyQueryMixin: <TBase extends Constructor<WeavyClient>>(Base: TBase) => {
    new (...args: any[]): {
        _hostIsConnectedObserver?: ResizeObserver;
        _queryClient: QueryClient;
        _unsubscribeQueryClient?: () => void;
        _sessionStoragePersister?: Persister;
        get queryClient(): QueryClient;
        initQueryClient(): Promise<void>;
        reset(): Promise<void>;
        disconnectQueryClient(): Promise<void>;
        destroy(): void;
        readonly weavySid: string;
        readonly weavyId: string;
        readonly host: HTMLElement;
        cloudFilePickerUrl: string | URL;
        configurationTimeout: number;
        disableEnvironmentImports: boolean;
        gcTime: number;
        scrollBehavior: "auto" | "smooth" | "instant";
        staleTime: number;
        tokenFactoryRetryDelay: number;
        tokenFactoryTimeout: number;
        "__#private@#resolveUrl"?: (url: URL) => void;
        "__#private@#whenUrl": Promise<unknown>;
        whenUrl(): Promise<void>;
        "__#private@#url"?: URL;
        get url(): URL | undefined;
        set url(url: string | URL | null | undefined);
        get cachePrefix(): string;
        "__#private@#isDestroyed": boolean;
        get isDestroyed(): boolean;
    };
} & TBase;
//# sourceMappingURL=query.d.ts.map