import type { Authenticator } from '../types.js';
import type { Authentication, AuthOptions } from '../service/types.js';
export interface TokenOptions extends AuthOptions {
    token?: string | string[] | null;
    type?: string;
    encode?: boolean;
    identId?: string;
}
interface TokenAuthentication extends Authentication {
    token?: string | null;
    type?: string;
    encode?: boolean;
}
export interface TokenObject extends Record<string, unknown> {
    token?: string | null;
    type?: string;
}
export interface TokenHeaders extends Record<string, unknown> {
    Authorization?: string;
}
declare const tokenAuth: Authenticator<TokenAuthentication, TokenOptions>;
export default tokenAuth;
