/** * Configuration choices that are allowed but widen who can see or do what through the * integration. Setup, secret and validation commands print these loudly whenever such a * choice is made or found, so the administrator makes it knowingly. */ export interface RiskyConfigInput { /** Package bucket; empty or undefined means bucketless mode. */ bucket?: string | null; /** Webhook signature verification; only an explicit false (or "false"/"0") counts as off. */ enableVerification?: boolean | string | null; } export declare const BUCKETLESS_WARNING: string[]; export declare const VERIFICATION_OFF_WARNING: string[]; export declare function isVerificationOff(value: RiskyConfigInput["enableVerification"]): boolean; /** The warnings that apply, each as lines (first line is the headline). */ export declare function riskyConfigWarnings(input: RiskyConfigInput): string[][]; /** Render one warning as a boxed block. */ export declare function formatRiskyConfigWarning(lines: string[]): string; /** Print every applicable warning to stderr; returns how many were printed. */ export declare function printRiskyConfigWarnings(input: RiskyConfigInput, write?: (message: string) => void): number; //# sourceMappingURL=risky-config-warnings.d.ts.map