import type { Role } from './user-roles';
import type { ApiRoute } from './api-routes';
/**
 * A fake API route that Cypress can intercept to provide a fake session config
 * Used to have UI tests work in Cypress without having to setup a real auth0 tenant
 * Since an actual auth token is never made or used, this works for UI tests but will fail if you try to use it in an API call
 */
export type CypressUserRole = Extract<Role, 'ADMIN' | 'CONTRIBUTOR' | 'CONSUMER' | 'VIEWER' | 'ANONYMOUS'>;
export type CypressSessionConfigApi = ApiRoute<{
    path: '/fake-cypress-api/get-session-config';
    method: 'GET';
    /** No query params */
    input?: Record<string, never>;
    output: {
        user: {
            userRole: CypressUserRole;
        };
    };
}>;
//# sourceMappingURL=cypress-session-config.d.ts.map