import { BackstageCredentials, BackstagePrincipalTypes, BackstageUserPrincipal, HttpAuthService } from '@backstage/backend-plugin-api';
import { Request, Response } from 'express';
export declare class MockHttpAuthService implements HttpAuthService {
    #private;
    constructor(pluginId: string, defaultCredentials: BackstageCredentials);
    credentials<TAllowed extends keyof BackstagePrincipalTypes = 'unknown'>(req: Request, options?: {
        allow?: Array<TAllowed>;
        allowLimitedAccess?: boolean;
    }): Promise<BackstageCredentials<BackstagePrincipalTypes[TAllowed]>>;
    issueUserCookie(res: Response, options?: {
        credentials?: BackstageCredentials<BackstageUserPrincipal>;
    }): Promise<{
        expiresAt: Date;
    }>;
}
