export declare function useFlags(initialFlags?: number): {
    flags: number;
    addFlag: (flag: number) => void;
    hasFlag: (flag: number) => boolean;
    removeFlag: (flag: number) => void;
    toggleFlag: (flag: number) => void;
};
