import type { DomindsKernelEndpoint } from '@longrun-ai/kernel/app-host-contract';
import { type AppsHostClient } from '../apps-host/client';
export type DynamicAppToolAvailabilityResult = Readonly<{
    status: 'ready';
    toolsetIds: ReadonlyArray<string>;
} | {
    status: 'error';
    toolsetIds: ReadonlyArray<string>;
    errorText: string;
} | {
    status: 'not_applicable';
    toolsetIds: ReadonlyArray<string>;
}>;
export declare function getAppsHostClient(): AppsHostClient;
export declare function waitForAppsHostClient(): Promise<AppsHostClient>;
export declare function shutdownAppsRuntime(): Promise<void>;
export declare function registerEnabledAppsToolProxies(params: {
    rtwsRootAbs: string;
}): Promise<void>;
export declare function listDynamicAppToolsetsForMember(_params: {
    rtwsRootAbs: string;
    taskDocPath: string;
    memberId: string;
    dialogId?: string;
    mainDialogId?: string;
    agentId?: string;
    sessionSlug?: string;
}): Promise<readonly string[]>;
export declare function resolveDynamicAppToolAvailabilityForMember(_params: {
    rtwsRootAbs: string;
    taskDocPath: string;
    memberId: string;
    dialogId?: string;
    mainDialogId?: string;
    agentId?: string;
    sessionSlug?: string;
}): Promise<DynamicAppToolAvailabilityResult>;
export declare function initAppsRuntime(params: {
    rtwsRootAbs: string;
    kernel: DomindsKernelEndpoint;
}): Promise<void>;
