/** SDK-owned platform module. This implementation is maintained in goodvibes-sdk. */ /** * Shared validator infrastructure for write and edit tools. * Runs typecheck / lint / test / build and returns structured results. */ export type ValidatorName = 'typecheck' | 'lint' | 'test' | 'build'; export interface ValidatorResult { validator: ValidatorName; passed: boolean; stdout: string; stderr: string; exitCode: number; } /** * Run a single validator via Bun.spawn. Times out after 30 seconds. */ export declare function runValidator(name: ValidatorName, cwd: string): Promise; /** * Run all validators in sequence. Returns array of all failures (or empty array if all pass). */ export declare function runValidators(validators: ValidatorName[], cwd: string): Promise; /** Format a validator failure into a human-readable message. */ export declare function formatValidatorFailure(result: ValidatorResult): string; //# sourceMappingURL=validators.d.ts.map