UNPKG

alinea

Version:
14 lines (13 loc) 452 B
import type { Client } from 'alinea/core/Client'; import type { Config } from 'alinea/core/Config'; import type { ComponentType } from 'react'; export interface ConfigBatch { local: boolean; revision: string; config: Config; client: Client; views: Record<string, ComponentType>; alineaDev?: boolean; } export type ConfigGenerator = AsyncGenerator<ConfigBatch>; export declare function boot(gen: ConfigGenerator): Promise<void>;