import React from "react";
import { Relay } from "../core/relay";
import { TabInfo, TabListItem } from "src/types";
interface RelayProviderProps {
    relay: Relay;
    children: React.ReactNode;
}
export declare function RelayProvider({ relay, children }: RelayProviderProps): import("react/jsx-runtime").JSX.Element;
export declare function useRelay(): Relay;
export declare function useTabInfo(): TabInfo | null;
export declare function useTabList(): TabListItem[];
export declare function useRequestAction(): <TResult = any>(targetTabId: string, action: string, payload?: any, onSuccess?: (result: TResult) => void, onError?: (error: string) => void) => Promise<TResult>;
export {};
