import type { ElsClient } from '../elsClient.js';
import type { ToolResult } from '../types.js';
/**
 * Tool: list_apps
 *
 * Mapping: GET /apps → apps.routes.ts:23 (требует master key, `requireMaster`).
 *
 * Поведение:
 *   - Если master-key → возвращает все apps как есть.
 *   - Если обычный ELS-key → 403 INSUFFICIENT_SCOPE от ELS → graceful fallback:
 *     отдаём `{ apps: [{ slug: '(current-app)', restricted: true }] }` с
 *     `_meta.warnings` и `_meta.degraded=true`. Это согласуется с принципом
 *     «derived from API-key context» — для обычного key пользователь и так
 *     работает в рамках одного app.
 *
 * При OAuth path: app-slug приходит из OIDC resolver (LK API) и tool
 * выдаёт его без 403-fallback.
 */
export declare const listAppsInputShape: {};
export declare const listAppsToolDef: {
    name: string;
    title: string;
    description: string;
    inputShape: {};
};
export declare function handleListApps(_args: Record<string, never>, client: ElsClient): Promise<ToolResult>;
//# sourceMappingURL=listApps.d.ts.map