import type { EdenConfig, UserProfile } from "@edenapp/types"; export type EffectivePrincipal = { kind: "system"; } | { kind: "user"; profile: UserProfile; }; export interface CommandCallerContext { appId?: string; webContentsId?: number; principal?: EffectivePrincipal; foundation?: boolean; } export declare class ExecutionContext { private readonly storage; private readonly coreApps; private readonly restrictedApps; constructor(config: EdenConfig); run(context: CommandCallerContext, task: () => T): T; get(): CommandCallerContext | undefined; getPrincipal(): EffectivePrincipal | undefined; hasGrant(grant: string): boolean; canLaunchApp(appId: string): boolean; isVendor(): boolean; } //# sourceMappingURL=ExecutionContext.d.ts.map