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;
        readonly 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;
        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;
        "__#16@#isDestroyed": boolean;
        readonly isDestroyed: boolean;
    };
} & TBase;
//# sourceMappingURL=query.d.ts.map