import type { CommandNode } from "../../../toolcraft/dist/index.js"; export interface TokenSource { getToken(): Promise; invalidate?(token?: string): Promise; } export interface CommandContributor { commands: CommandNode[]; } export type AuthProvider = TokenSource & CommandContributor;