export type ModulePermission = { identifier: string actions: ["search"] } export type ModulePermissions = ModulePermission export type ModuleState = never export type GmailIntegration = { type: "gmail" name: string permissions?: Array state?: ModuleState }