import type { TWorkspaceState } from "../../types/config"; import { type ApiErrorResponse, type Result } from "../../types/error"; /** * Fetch the workspace state from the backend * @param appUrl - The app URL * @param workspaceId - The workspace ID * @returns The workspace state * @throws NetworkError */ export declare const fetchWorkspaceState: ({ appUrl, workspaceId, }: { appUrl: string; workspaceId: string; }) => Promise>; /** * Add a listener to check if the workspace state has expired with a certain interval */ export declare const addWorkspaceStateExpiryCheckListener: () => Promise; export declare const clearWorkspaceStateExpiryCheckListener: () => void; //# sourceMappingURL=state.d.ts.map