import type { MockServerConfig, ResourceItem, Row } from '../types.ts'; import { type NotifyGateway } from './notifyDispatch.ts'; import { type PlatformProduct } from './products.ts'; export interface PlatformUser { username: string; password?: string; profile?: string[]; permission?: string[]; user?: Row; } export interface PlatformSeed { RIGHT?: Row[]; PROFILE?: Row[]; PROFILE_RIGHT?: Row[]; NOTIFY_ALERT?: Row[]; KEY_VALUE?: Row[]; } export interface PlatformPresetOptions { users?: PlatformUser[]; seed?: PlatformSeed; resources?: ResourceItem[]; sessionUser?: string; products?: readonly PlatformProduct[]; notifyGateways?: NotifyGateway[]; notifyEntities?: string[]; reportingTimeZone?: string; reportingDatasources?: string[]; reconciliationRunMs?: number; reconciliationPipelines?: string[]; } /** * The Genesis platform's data and handlers, to merge with an app's own config: * `createMockServer(mergeConfigs(platformPreset(), appConfig))`. See the * README's "Platform preset". */ export declare function platformPreset(options?: PlatformPresetOptions): MockServerConfig;