import { ConsentEvent, ConsentRequest, ConsentTarget } from '@signatu/consent'; export declare const LOAD_CONSENT = "LOAD_CONSENT"; export interface LoadConsentAction { type: typeof LOAD_CONSENT; payload: ConsentTarget; } export declare const loadConsentAction: (payload: ConsentTarget) => ActionTypes; export declare const SAVE_CONSENT = "SAVE_CONSENT"; export interface SaveConsentAction { type: typeof SAVE_CONSENT; payload: ConsentRequest; } export declare const saveConsentAction: (payload: ConsentRequest) => ActionTypes; export declare const RECEIVE_CONSENTS = "RECEIVE_CONSENTS"; export interface ReceiveConsentsAction { type: typeof RECEIVE_CONSENTS; events: ConsentEvent[]; target: ConsentTarget; } export declare const receiveConsentsAction: (target: ConsentTarget, events: ConsentEvent[]) => ActionTypes; export declare const UI_SET_EXPANDER = "UI_SET_EXPANDER"; export interface UISetExpanderAction { type: typeof UI_SET_EXPANDER; payload: { id: string; expanded: boolean; }; } export declare const uiSetExpander: (id: string, expanded: boolean) => UISetExpanderAction; export declare type ActionTypes = SaveConsentAction | LoadConsentAction | ReceiveConsentsAction | UISetExpanderAction; //# sourceMappingURL=actions.d.ts.map