import { RawRule } from '../RawRule'; import { SubjectType } from '../types'; export type PackRule> = [ string, string ] | [ string, string, T['conditions'] ] | [ string, string, T['conditions'] | 0, 1 ] | [ string, string, T['conditions'] | 0, 1 | 0, string ] | [ string, string, T['conditions'] | 0, 1 | 0, string | 0, string ]; export type PackSubjectType = (type: T) => string; export declare function packRules>(rules: T[], packSubject?: PackSubjectType): PackRule[]; export type UnpackSubjectType = (type: string) => T; export declare function unpackRules>(rules: PackRule[], unpackSubject?: UnpackSubjectType): T[];