export type AccessPayloadType = "ACCESS" | "AUTH" | "REFRESH";
export interface AccessPayload {
    type: AccessPayloadType;
    userId: string;
    key: string;
    access: AccessContext | null;
    iat: number;
    exp: number;
}
interface AccessContext {
    application: Application | null;
    role: Role | null;
    organizationId: string | null;
    organization: Organization | null;
}
interface Organization {
    id: string;
    name: string;
    role: Role | null;
}
interface Role {
    id: number;
    name: string;
    code: string;
}
interface Application {
    id: number;
    key: string;
    name: string;
}
export {};
