import type { NobjcObject } from "objc-js";
import type { _TKToken } from "./TKToken.js";
import type { _TKTokenConfiguration } from "./TKTokenConfiguration.js";
import type { _TKTokenDriver } from "./TKTokenDriver.js";
export interface _TKTokenDriverDelegate {
    /**
     * @discussion Creates new token for specified configuration. SmartCard token drivers should not implement this method.
     */
    tokenDriver$tokenForConfiguration$error$?(driver: _TKTokenDriver, configuration: _TKTokenConfiguration, error: NobjcObject | null): _TKToken | null;
    /**
     * @discussion Terminates previously created token, should release all resources associated with it.
     */
    tokenDriver$terminateToken$?(driver: _TKTokenDriver, token: _TKToken): void;
}
