import { type MigrationApi, type V1View } from './types.js'; export interface MigratedModuleSummary { name: string; skippedReason?: string; streamType: string; } export interface MigrationResult { body: Record; modules: MigratedModuleSummary[]; skipped: MigratedModuleSummary[]; } export interface MigrationOptions { /** * Device to snapshot the view for. V1 observe views are dynamic — their * module list is computed per device at render time — so migrating without * a device context turns an unfiltered view into an org-wide stream union. */ deviceId?: string; } export declare function migrateV1View(view: V1View, api: MigrationApi, options?: MigrationOptions): Promise;