import type { CommunityInstallResolution } from "../runtime/community/community-consent-client.js";
import { type InstalledCommunityPetResource } from "../runtime/pet/pet-community-assets.js";
import { type CommunityInstalledResource, type InstallCommunitySkillOptions } from "./community-skill-installer.js";
import { type CommunityWorkflowBundlePayload } from "./community-workflow-installer.js";
export type CommunityInstalledAnyResource = CommunityInstalledResource | InstalledCommunityPetResource | CommunityWorkflowBundlePayload;
export interface CommunityMcpInstallPreview {
    kind: "mcp";
    mode: "preview";
    resourceId: string;
    version: string;
    sourceTier: string;
    perUseConsentRequired: true;
    declaredPermissions: string[];
    manifest: unknown;
}
export interface CommunityExecutableLauncherGate {
    kind: "executable";
    mode: "launcher-required" | "manual-review-required";
    resourceId: string;
    version: string;
    resourceType: string;
    sourceTier: string;
    riskTier: string;
    artifactDigest: string;
    launcherRequired: true;
    manualReviewRequired: boolean;
    autoRunBlocked: true;
    manifest: unknown;
}
export declare function installCommunityResource(install: CommunityInstallResolution, options?: InstallCommunitySkillOptions): Promise<CommunityInstalledAnyResource | CommunityMcpInstallPreview | CommunityExecutableLauncherGate>;
