2021-12-17 20:53:21 +01:00
|
|
|
import { StateService as BaseStateServiceAbstraction } from 'jslib-common/abstractions/state.service';
|
2021-12-16 15:39:46 +01:00
|
|
|
|
2021-12-17 20:53:21 +01:00
|
|
|
import { StorageOptions } from 'jslib-common/models/domain/storageOptions';
|
2021-12-16 15:39:46 +01:00
|
|
|
|
2021-12-17 20:53:21 +01:00
|
|
|
import { Account } from 'src/models/account';
|
|
|
|
import { BrowserComponentState } from 'src/models/browserComponentState';
|
|
|
|
import { BrowserGroupingsComponentState } from 'src/models/browserGroupingsComponentState';
|
|
|
|
import { BrowserSendComponentState } from 'src/models/browserSendComponentState';
|
2021-12-16 15:39:46 +01:00
|
|
|
|
|
|
|
|
|
|
|
export abstract class StateService extends BaseStateServiceAbstraction<Account> {
|
|
|
|
getBrowserGroupingComponentState: (options?: StorageOptions) => Promise<BrowserGroupingsComponentState>;
|
|
|
|
setBrowserGroupingComponentState: (value: BrowserGroupingsComponentState, options?: StorageOptions) => Promise<void>;
|
|
|
|
getBrowserCipherComponentState: (options?: StorageOptions) => Promise<BrowserComponentState>;
|
|
|
|
setBrowserCipherComponentState: (value: BrowserComponentState, options?: StorageOptions) => Promise<void>;
|
|
|
|
getBrowserSendComponentState: (options?: StorageOptions) => Promise<BrowserSendComponentState>;
|
|
|
|
setBrowserSendComponentState: (value: BrowserSendComponentState, options?: StorageOptions) => Promise<void>;
|
|
|
|
getBrowserSendTypeComponentState: (options?: StorageOptions) => Promise<BrowserComponentState>;
|
|
|
|
setBrowserSendTypeComponentState: (value: BrowserComponentState, options?: StorageOptions) => Promise<void>;
|
|
|
|
}
|