import type { ButtonInteraction, TextChannel, ThreadChannel } from 'discord.js'; import type { PermissionRequest, NotificationMessage, Session } from '@openacp/plugin-sdk'; export declare class PermissionHandler { private guildId; private getSession; private sendNotification; private pending; constructor(guildId: string, getSession: (sessionId: string) => Session | undefined, sendNotification: (notification: NotificationMessage) => Promise); sendPermissionRequest(session: Session, request: PermissionRequest, thread: TextChannel | ThreadChannel): Promise; handleButtonInteraction(interaction: ButtonInteraction): Promise; }