import type { CommunityInstallResolution } from "../runtime/community/community-consent-client.js";
export interface CommunityInstalledResource {
    resourceId: string;
    version: string;
    skillName: string;
    installDir: string;
    checksum: string;
}
export interface InstallCommunitySkillOptions {
    fetchFn?: typeof fetch;
    /** Replace an existing install in place (update flow) instead of erroring. */
    allowReplace?: boolean;
}
export declare function installCommunitySkillResource(install: CommunityInstallResolution, options?: InstallCommunitySkillOptions): Promise<CommunityInstalledResource>;
