import { BackstageCredentials, BackstageNonePrincipal, BackstagePrincipalAccessRestrictions, BackstageServicePrincipal, BackstageUserPrincipal } from '@backstage/backend-plugin-api';
import { InternalBackstageCredentials } from './types';
export declare function createCredentialsWithServicePrincipal(sub: string, token?: string, accessRestrictions?: BackstagePrincipalAccessRestrictions): InternalBackstageCredentials<BackstageServicePrincipal>;
export declare function createCredentialsWithUserPrincipal(sub: string, token: string, expiresAt?: Date, actor?: string): InternalBackstageCredentials<BackstageUserPrincipal>;
export declare function createCredentialsWithNonePrincipal(): InternalBackstageCredentials<BackstageNonePrincipal>;
export declare function toInternalBackstageCredentials(credentials: BackstageCredentials): InternalBackstageCredentials<BackstageUserPrincipal | BackstageServicePrincipal | BackstageNonePrincipal>;
