import { Plugin, PluginInput, Hooks } from '@opencode-ai/plugin'; declare function kiroTokenPath(): string; declare function readToken(tokenPath: string | undefined): Promise<{ type: "success"; refresh: string; access: string; expires: number; } | { type: "failed"; }>; declare function notifyIfTokenExpired(client: PluginInput["client"] | undefined): Promise; declare function enableSidebarConfig(path: string, input: PluginInput): Promise; declare const KiroAuthPlugin: Plugin; declare const _default: { id: string; server: (input: PluginInput) => Promise; }; export { KiroAuthPlugin, _default as default, enableSidebarConfig, kiroTokenPath, notifyIfTokenExpired, readToken };