/**
 * Typed render contracts — top-level `RenderableEnvelope<T>` discriminated union.
 *
 * Part of the Human Render Contract (Epic T10114, ADR-077). Every renderable
 * value flowing from CLEO commands to presenters MUST be wrapped in one of the
 * variants below. Presenters dispatch on `kind` to pick the right renderer.
 *
 * @epic T10114
 * @task T10141
 */
/**
 * Type guard — narrows to the `tree` variant.
 */
export function isTreeEnvelope(env) {
    return env.kind === 'tree';
}
/**
 * Type guard — narrows to the `table` variant.
 */
export function isTableEnvelope(env) {
    return env.kind === 'table';
}
/**
 * Type guard — narrows to the flat `list` variant.
 */
export function isListEnvelope(env) {
    return env.kind === 'list';
}
/**
 * Type guard — narrows to the `grouped-list` variant.
 */
export function isGroupedListEnvelope(env) {
    return env.kind === 'grouped-list';
}
/**
 * Type guard — narrows to the `section` variant.
 */
export function isSectionEnvelope(env) {
    return env.kind === 'section';
}
/**
 * Type guard — narrows to the `single` variant.
 */
export function isSingleEnvelope(env) {
    return env.kind === 'single';
}
/**
 * Type guard — narrows to the `generic` variant.
 */
export function isGenericEnvelope(env) {
    return env.kind === 'generic';
}
//# sourceMappingURL=envelope.js.map