import { type ContributionKind, type ContributionKindHandler } from '@xemahq/kernel-contracts/contribution'; export interface DiscoveredContribution { readonly envelope: unknown; readonly biomeId: string; readonly biomeVersion: string; readonly origin?: string; } export interface BootstrapContributionsResult { readonly kind: ContributionKind; readonly ingested: number; readonly rejected: readonly BootstrapContributionsRejection[]; } export interface BootstrapContributionsRejection { readonly biomeId: string; readonly origin: string | undefined; readonly reason: string; } export declare class BootstrapContributionsError extends Error { readonly biomeId: string; readonly origin: string | undefined; readonly cause: unknown; constructor(args: { message: string; biomeId: string; origin?: string; cause?: unknown; }); } export declare abstract class BootstrapContributionsService { protected abstract readonly handler: ContributionKindHandler; protected abstract loadContributions(): Promise; bootstrap(): Promise; protected onRejection(rejection: BootstrapContributionsRejection, accumulator: BootstrapContributionsRejection[]): Promise; } //# sourceMappingURL=bootstrap-contributions-service.d.ts.map