import { JupyterLabAppAdapter } from '@datalayer/jupyter-react';
import { JupyterFrontEndPlugin } from '@jupyterlab/application';
export type Plugin = JupyterFrontEndPlugin<any, any, any> & {
    service: any;
};
export type IJupyterLabState = {
    jupyterLabAdapter?: JupyterLabAppAdapter;
};
export type JupyterLabState = IJupyterLabState & {
    setJupyterLabAdapter: (jupyterLabAdapter?: JupyterLabAppAdapter) => void;
    plugin: (id: string) => Plugin | undefined;
};
export declare const jupyterLabStore: import("zustand").StoreApi<JupyterLabState>;
export declare function useJupyterLabStore(): JupyterLabState;
export declare function useJupyterLabStore<T>(selector: (state: JupyterLabState) => T): T;
export default useJupyterLabStore;
