UNPKG

445 BTypeScriptView Raw
1import * as Session from './session';
2/**
3 * Validate an `Session.IModel` object.
4 */
5export declare function validateModel(data: any): asserts data is Session.IModel;
6/**
7 * Update model from legacy session data.
8 */
9export declare function updateLegacySessionModel(data: any): void;
10/**
11 * Validate an array of `Session.IModel` objects.
12 */
13export declare function validateModels(models: Session.IModel[]): asserts models is Session.IModel[];