import { NoProcessExitOutsideMainConfig } from '@webpieces/rules-config'; import type { EditContext, Violation } from '../types'; import { EditRuleBase } from '../rule-base'; import { FixHint } from '../fix-hint'; export declare class NoProcessExitOutsideMainRule extends EditRuleBase { constructor(config: NoProcessExitOutsideMainConfig); readonly description = "Disallow process.exit() outside a main()/runMain wrapper (and importing another module's main). A deep exit crashes a reused server/command too early; throw a semantic error and let main pick the exit code."; readonly files: string[]; readonly defaultOptions: {}; get fixHint(): FixHint; check(ctx: EditContext): readonly Violation[]; }