import Role from '../roles'; import Lane from '../lanes'; export declare const ids: readonly [1, 2, 3, 4, 5]; export type Id = typeof ids[number]; export declare const isId: (id: any) => id is 1 | 2 | 4 | 3 | 5; export declare const SAFE_LANE: 1, MID_LANE: 2, OFF_LANE: 3, SOFT_SUPPORT: 4, HARD_SUPPORT: 5; export declare const GQL_ENUM_MAPPING: { readonly 1: "POSITION_1"; readonly 2: "POSITION_2"; readonly 3: "POSITION_3"; readonly 4: "POSITION_4"; readonly 5: "POSITION_5"; }; export declare const gqlEnums: ("POSITION_1" | "POSITION_2" | "POSITION_3" | "POSITION_4" | "POSITION_5")[]; export type Enum = typeof gqlEnums[number]; export declare const isGqlEnum: (em: any) => em is "POSITION_1" | "POSITION_2" | "POSITION_3" | "POSITION_4" | "POSITION_5"; export declare const toGqlEnum: (id: Id) => "POSITION_1" | "POSITION_2" | "POSITION_3" | "POSITION_4" | "POSITION_5"; export declare const fromGqlEnum: (em: Enum) => 1 | 2 | 4 | 3 | 5 | undefined; export declare const fromRoleLaneIds: (role: Role.Id, lane: Lane.Id) => 1 | 2 | 4 | 3 | 5 | undefined; export declare const fromRoleLaneEnums: (role: Role.Enum, lane: Lane.Enum) => 1 | 2 | 4 | 3 | 5 | undefined; export declare const ROLE_MAPPING: Record; export declare const toRole: (id: Id) => 0 | 1 | 2; export declare const LANE_MAPPING: Record; export declare const toLane: (id: Id) => 0 | 1 | 2 | 4 | 3;