import { Controller, TypeVPage, NavSettings, App } from 'tonva-tools'; import { CUq, UqUI } from './uq'; export interface RoleAppUI { CApp?: typeof CApp; CUq?: typeof CUq; main?: TypeVPage; uqs: { [uq: string]: UqUI | (() => Promise); }; res?: any; } export interface AppUI extends RoleAppUI, NavSettings { appName: string; roles?: { [role: string]: RoleAppUI | (() => Promise); }; } export declare class CApp extends Controller { private appOwner; private appName; private cImportUqs; protected ui: AppUI; id: number; appUnits: any[]; constructor(ui: AppUI); readonly caption: string; cUqCollection: { [uq: string]: CUq; }; startDebug(): Promise; protected loadUqs(app: App): Promise; private buildRoleAppUI; getImportUq(uqOwner: string, uqName: string): CUq; protected newCUq(uq: string, uqId: number, access: string, ui: any): CUq; readonly cUqArr: CUq[]; getCUq(uq: string): CUq; protected readonly VAppMain: TypeVPage; protected beforeStart(): Promise; protected internalStart(param: any): Promise; render(): JSX.Element; protected clearPrevPages(): void; private showUnsupport; private showMainPage; private getCUqFromId; renderRow: (item: any, index: number) => JSX.Element; onRowClick: (item: any) => Promise; protected selectUnitPage: () => JSX.Element; }