export interface CommercialOnboardOptions { /** Skip commercial hooks even if layer is present */ noCommercial?: boolean; /** Explicit commercial package root */ commercialRoot?: string; } export interface CommercialPhaseResult { ran: boolean; exitCode: number; scriptPath?: string; } /** * Resolve optional commercial layer (installer, license, SSO stubs — split to own repo for product). * Priority: --commercial-root > env > COMMERCIAL_LAYER.yaml root > auto ./commercial > vendor/enterprise-skills-commercial */ export declare function resolveCommercialRoot(projectRoot: string, options: CommercialOnboardOptions): string | null; /** * Run pre-onboard.mjs or post-onboard.mjs from commercial layer. Non-zero exit from pre aborts onboard. */ export declare function runCommercialPhase(phase: 'pre' | 'post', projectRoot: string, options: CommercialOnboardOptions): CommercialPhaseResult; //# sourceMappingURL=commercial-layer.d.ts.map