import { type DIDMethodResolver } from '@kokuin/token'; import type { StoreProvider } from '@kubun/db'; export declare class MultipleCurrentCredentialControllersError extends Error { constructor(deviceDID: string); } /** Resolve a device's current controller from held, unrevoked credential authority. */ export declare function resolveCurrentControllerOfDevice(stores: StoreProvider, deviceDID: string, controllerResolver: DIDMethodResolver, isRevokedByOwnAgents?: (controllerDID: string, deviceDID: string) => Promise): Promise;