import type { MDSResponse } from '../../types.js'; import type { Transaction } from '../send/response.js'; import type { MDSParams } from './params.js'; export type MDSReturnType = A extends MDSParams ? A['action'] extends 'list' ? MDSResponse : A['action'] extends 'install' ? MDSResponse : A['action'] extends 'uninstall' ? MDSResponse : A['action'] extends 'permission' ? MDSResponse : A['action'] extends 'pending' ? MDSResponse : A['action'] extends 'deny' ? MDSResponse : A['action'] extends 'accept' ? MDSResponse : A['action'] extends 'publicmds' ? MDSResponse : MDSResponse : never; export type PublicMDS = { enabled: boolean; }; export type MDSList = { enabled: boolean; connect: string; password: string; publicmds: boolean; minidapps: Minidapp[]; }; export type MDSInstall = { installed: Omit; }; export type MDSUninstall = { uninstalled: string; }; export type MDSPermission = Omit; export type MDSPending = { pending: { minidapp: Omit; timemilli: number; date: string; command: string; }[]; }; export type CheckMode = { name: string; mode: 'WRITE' | 'READ'; writemode: boolean; dblocked: boolean; }; export type CheckPending = { pending: boolean; }; export type CheckRestore = { restoring: boolean; shuttingdown: boolean; complete: boolean; }; export type Minidapp = { uid: string; conf: Conf; sessionid: string; }; export type Conf = { name: string; icon: string; version: string; description: string; permission: string; browser: string; category: string; }; //# sourceMappingURL=response.d.ts.map