import { BackstagePrincipalAccessRestrictions } from '@backstage/backend-plugin-api';
import { Config } from '@backstage/config';
export type AccessRestriptionsMap = Map<string, // plugin ID
BackstagePrincipalAccessRestrictions>;
export interface TokenHandler {
    add(options: Config): void;
    verifyToken(token: string): Promise<{
        subject: string;
        allAccessRestrictions?: AccessRestriptionsMap;
    } | undefined>;
}
