import { AuthService, BackstageCredentials, BackstageServicePrincipal, BackstageNonePrincipal, BackstageUserPrincipal } from '@backstage/backend-plugin-api'; export declare function createCredentialsWithServicePrincipal(sub: string, token?: string): InternalBackstageCredentials; export declare function createCredentialsWithUserPrincipal(sub: string, token: string, expiresAt?: Date): InternalBackstageCredentials; export declare function createCredentialsWithNonePrincipal(): InternalBackstageCredentials; export declare function toInternalBackstageCredentials(credentials: BackstageCredentials): InternalBackstageCredentials; /** @public */ export declare const authServiceFactory: () => import("@backstage/backend-plugin-api").ServiceFactory;