/**
 * Event Type Guards
 *
 * Type guard functions for narrowing event types at runtime.
 */
/**
 * Type guard for checking event types
 */
export function isEventType(event, type) {
    return event.type === type;
}
/**
 * Type guard for agent events
 */
export function isAgentEvent(event) {
    return event.type.startsWith('agent:');
}
/**
 * Type guard for tool events
 */
export function isToolEvent(event) {
    return event.type.startsWith('tool:');
}
/**
 * Type guard for session events
 */
export function isSessionEvent(event) {
    return event.type.startsWith('session:');
}
/**
 * Type guard for file events
 */
export function isFileEvent(event) {
    return event.type.startsWith('file:');
}
/**
 * Type guard for cache events
 */
export function isCacheEvent(event) {
    return event.type.startsWith('cache:');
}
/**
 * Type guard for sync events
 */
export function isSyncEvent(event) {
    return event.type.startsWith('sync:');
}
//# sourceMappingURL=type-guards.js.map