import { MittwaldAPIV2Client } from "@mittwald/api-client"; export type LinkedDatabaseSummary = { databaseId: string; purpose: string; kind: "mysql" | "redis" | "unknown"; name?: string; }; export type AppSummary = { installationId: string; installationShortId?: string; appId: string; appName: string; installationPath: string; linkedDatabases: LinkedDatabaseSummary[]; }; export type StackSummary = { id: string; shortId?: string; description?: string; services: number; volumes: number; }; export type ContainerSummary = { id: string; shortId?: string; name: string; status: string; stackId?: string; }; export type ResolvedProjectContext = { projectId?: string; resolvedFrom?: "project-id" | "installation-id"; unavailableReason?: string; }; export type ProjectOverview = { projectId?: string; projectShortId?: string; projectName?: string; resolvedFrom?: "project-id" | "installation-id"; apps: AppSummary[]; stacks: StackSummary[]; containers: ContainerSummary[]; unavailableReason?: string; warnings?: string[]; }; export type OverviewEntryData = { shortId?: string; name: string; status: string; id: string; }; export declare function formatOverviewEntry({ shortId, name, status, id, }: OverviewEntryData): string; export declare function resolveProjectContext(apiClient: MittwaldAPIV2Client, contextProjectId: string | undefined, installationId: string | undefined): Promise; export declare function fetchProjectOverview(apiClient: MittwaldAPIV2Client, resolvedProject: ResolvedProjectContext): Promise;