import { DebugRequest, MediaFile } from './model.js'; import { Subject } from 'rxjs'; import { Excluded, Type } from '@deepkit/type'; export declare class ConfigOption { name: string; type: string; defaultValue: any; value: any; description?: string; } export declare class Workflow { places: string[]; transitions: { from: string; to: string; label?: string; }[]; } export declare class DatabaseEntity { name?: string; className: string; } export declare class Database { name: string; adapter: string; entities: DatabaseEntity[]; } export declare class Filesystem { name: string; adapter: string; options: { [name: string]: any; }; } export declare class Config { appConfig: ConfigOption[]; modulesConfig: ConfigOption[]; } export declare class RouteParameter { name: string; type: 'body' | 'query' | 'url'; stringType: string; } export declare class Route { path: string; httpMethods: string[]; controller: string; description: string; parameters: RouteParameter[]; groups: string[]; category: string; bodyType?: any | undefined; constructor(path: string, httpMethods: string[], controller: string, description: string, parameters: RouteParameter[], groups: string[], category: string, bodyType?: any | undefined); } export declare class RpcActionParameter { name: string; type: string; constructor(name: string, type: string); } export declare class RpcAction { path: string; controller: string; methodName: string; parameters: RpcActionParameter[]; } export declare class Event { event: string; controller: string; methodName: string; priority: number; } export declare class ModuleService { id: number; token: string; instantiations: number; scope: string; exported: boolean; forRoot: boolean; type: 'service' | 'controller' | 'listener'; constructor(id: number, token: string); } export declare class ModuleImportedService { id: number; token: string; fromModule: string; constructor(id: number, token: string, fromModule: string); } export declare class ModuleApi { name: string; id: number; className: string; /** @reflection never */ deserializedConfigSchema?: Type & Excluded; configSchemas: any; config: Record; services: ModuleService[]; imports: ModuleApi[]; importedServices: ModuleImportedService[]; constructor(name: string, id: number, className: string); /** @reflection never */ getConfigSchema(): Type | undefined; } export declare const DebugMediaInterface: import("@deepkit/rpc").ControllerDefinition; export interface DebugMediaInterface { getPublicUrl(fs: number, path: string): Promise; createFolder(fs: number, path: string): Promise; getFile(fs: number, path: string): Promise; getFiles(fs: number, path: string): Promise; getMediaQuickLook(fs: number, path: string): Promise<{ file: MediaFile; data: Uint8Array; } | false>; getMediaData(fs: number, path: string): Promise; renameFile(fs: number, path: string, newName: string): Promise; addFile(fs: number, name: string, dir: string, data: Uint8Array): Promise; remove(fs: number, paths: string[]): Promise; } export declare const DebugControllerInterface: import("@deepkit/rpc").ControllerDefinition; export interface DebugControllerInterface { configuration(): Config; subscribeStopwatchFrames(): Promise>; subscribeStopwatchFramesData(): Promise>; databases(): Database[]; filesystems(): Filesystem[]; routes(): Route[]; modules(): ModuleApi; actions(): RpcAction[]; getWorkflow(name: string): Workflow; getProfilerFrames(): [Uint8Array, Uint8Array, Uint8Array]; resetProfilerFrames(): void; events(): Event[]; httpRequests(): DebugRequest[]; } export declare type __ΩDebugMediaInterface = any[]; export declare type __ΩDebugControllerInterface = any[];