/** @module Interface wasi:cli/exit@0.2.6 **/ export function exit(status: Result): void; export type Result = { tag: 'ok', val: T } | { tag: 'err', val: E };