import { KsUserRole } from '@knapsack/core';
export declare type User = {
    username: string;
    id: string;
    attributes: {
        email: string;
        'custom:ks-github-repos'?: string;
        sub?: string;
    };
};
export declare function getUserInfo(): Promise<{
    role?: KsUserRole;
    canEdit?: boolean;
    user?: User;
    username?: string;
    ksRepoAccess?: string[];
    token?: string;
}>;
//# sourceMappingURL=user-utils.d.ts.map