import type { DrizzleExecutor } from "../drizzle.js"; import type { MutationHint } from "../chat/types.js"; import type { PluginHostPermission, PluginInstallationSummary } from "./types.js"; /** * Replaces one pluginInstallations row's user-approved API grants while enforcing its immutable manifest declarations. * A changed grant set invalidates the current container incarnation and queues runtime reactivation in the same audited sync transaction so old tokens stop authorizing immediately. */ export declare function pluginInstallationPermissionsUpdate(executor: DrizzleExecutor, input: { actorUserId: string; installationId: string; permissions: readonly PluginHostPermission[]; }): Promise<{ changed: boolean; containerName?: string; hint?: MutationHint; installation: PluginInstallationSummary; }>; //# sourceMappingURL=pluginInstallationPermissionsUpdate.d.ts.map