/** @type {string[]} */ export const schemaExports: string[]; /** * @typedef {import('./types.js').SessionState} SessionState * @typedef {import('./types.js').OrganizationMembership} OrganizationMembership * @typedef {import('./types.js').UserRef} UserRef * @typedef {import('./types.js').User} User * @typedef {import('./types.js').Account} Account */ /** @type {{errors?: import('ajv').ErrorObject[] | null | undefined} & ((data: any) => data is SessionState)} */ export const validate: { errors?: import('ajv').ErrorObject[] | null | undefined; } & ((data: any) => data is import("./types.js").SessionState); /** @type {(data: any, options?: import('#lib/types/validation.js').AssertValidOptions) => asserts data is SessionState} */ export const assertValid: (data: any, options?: import('#lib/types/validation.js').AssertValidOptions) => asserts data is import("./types.js").SessionState; export function returnValid(data: any, options?: import("../../../types/validation.js").AssertValidOptions | undefined): SessionState; export const schema: { $id: string; "x-exports": string[]; type: string; title: string; additionalProperties: boolean; properties: { user: { $ref: string; }; organization: { $ref: string; }; account: { $ref: string; }; accountRole: { type: string; }; lang: { type: string; }; dark: { type: string; }; }; $defs: { organizationMembership: { type: string; additionalProperties: boolean; required: string[]; properties: { id: { type: string; }; name: { type: string; }; role: { type: string; }; department: { type: string; }; departmentName: { type: string; }; dflt: { type: string; }; }; }; userRef: { type: string; additionalProperties: boolean; required: string[]; properties: { id: { type: string; }; name: { type: string; }; }; }; user: { type: string; additionalProperties: boolean; required: string[]; properties: { email: { type: string; format: string; }; id: { type: string; }; name: { type: string; }; organizations: { type: string; items: { $ref: string; }; }; isAdmin: { type: string; enum: number[]; }; adminMode: { type: string; enum: number[]; }; asAdmin: { $ref: string; }; pd: { type: string; format: string; }; ipa: { type: string; enum: number[]; }; }; }; account: { type: string; additionalProperties: boolean; required: string[]; properties: { type: { type: string; enum: string[]; }; id: { type: string; }; name: { type: string; }; department: { type: string; }; departmentName: { type: string; }; }; }; }; }; export type SessionState = import('./types.js').SessionState; export type OrganizationMembership = import('./types.js').OrganizationMembership; export type UserRef = import('./types.js').UserRef; export type User = import('./types.js').User; export type Account = import('./types.js').Account; //# sourceMappingURL=index.d.ts.map