export interface Subject {
    id: string;
    roles: string[];
    attributes?: Record<string, any>;
}
export interface Resource {
    id: string;
    type: string;
    attributes?: Record<string, any>;
}
export type Action = string;
export interface PermissionRule {
    resource: string;
    action: string;
    allowedRoles?: string[];
    attributeCondition?: Record<string, any>;
}
