export declare function useAgentState(attributeKey: string, parse: (json: string) => T | null, initial: T): T;