import { createGuard } from '../../../../shared/foundation/guard.base.js';
import { persistedInsightsDataSchema } from '../../../../modules/statistics-insights/entities/insight/persistedInsightsData.schema.js';
export const persistedInsightsDataGuard = createGuard(persistedInsightsDataSchema, 'persistedInsightsData');
export function parsePersistedInsightsData(data) {
    return persistedInsightsDataGuard.parse(data);
}
export function safeParsePersistedInsightsData(data) {
    return persistedInsightsDataGuard.safeParse(data);
}
export function isValidPersistedInsightsData(data) {
    return persistedInsightsDataGuard.isValid(data);
}
//# sourceMappingURL=persistedInsightsData.guard.js.map