import type { ApiRoute } from './api-routes';
import type { Role } from './user-roles';
/**
 * Route on our App API that checks if the user is authenticated and returns their role
 * Make sure to add KS Site ID header {@link import('@knapsack/core').ksHttpHeaders} to recieve correct role
 */
export type AppApiAuthCheck = ApiRoute<{
    path: '/domains/users/auth-check';
    method: 'GET';
    output: {
        role: Role;
        userId: string;
        isSitePrivate: boolean;
    };
}>;
//# sourceMappingURL=app-api-routes.d.ts.map