import { Polymesh } from '@polymathnetwork/polymesh-sdk';
import { CurrentIdentity, Identity, Permissions } from '@polymathnetwork/polymesh-sdk/types';
import { PayloadAction } from '@reduxjs/toolkit';
export declare type PolymeshState = {
    sdk: Polymesh | null;
    wallet: any;
    currentAccount?: string;
    currentIdentity?: CurrentIdentity;
    isDidValid?: boolean;
    didIssuer?: Identity;
    didExpiry?: Date | null;
    hasUid?: boolean;
    permissions?: Permissions;
    isItn?: boolean;
    chainProperties?: any;
};
export declare const polymeshSlice: import("@reduxjs/toolkit").Slice<PolymeshState, {
    setSdk(state: import("immer/dist/internal").WritableDraft<PolymeshState>, action: PayloadAction<Polymesh>): void;
    setWallet(state: import("immer/dist/internal").WritableDraft<PolymeshState>, action: PayloadAction<any>): void;
    setCurrentAccount(state: import("immer/dist/internal").WritableDraft<PolymeshState>, action: PayloadAction<string>): void;
    setHasUid(state: import("immer/dist/internal").WritableDraft<PolymeshState>, action: PayloadAction<boolean>): void;
    setCurrentIdentity(state: import("immer/dist/internal").WritableDraft<PolymeshState>, action: PayloadAction<CurrentIdentity>): void;
    setIsDidValid(state: import("immer/dist/internal").WritableDraft<PolymeshState>, action: PayloadAction<boolean>): void;
    setDidIssuer(state: import("immer/dist/internal").WritableDraft<PolymeshState>, action: PayloadAction<Identity>): void;
    setDidExpiry(state: import("immer/dist/internal").WritableDraft<PolymeshState>, action: PayloadAction<Date | null | undefined>): void;
    setPermissions(state: import("immer/dist/internal").WritableDraft<PolymeshState>, action: PayloadAction<Permissions>): void;
    setIsItn(state: import("immer/dist/internal").WritableDraft<PolymeshState>, action: PayloadAction<boolean>): void;
    setChainProperties(state: import("immer/dist/internal").WritableDraft<PolymeshState>, action: PayloadAction<any>): void;
}, "polymesh">;
export declare const polymeshReducer: import("redux").Reducer<PolymeshState, import("redux").AnyAction>;
export declare const polymeshActions: import("@reduxjs/toolkit").CaseReducerActions<{
    setSdk(state: import("immer/dist/internal").WritableDraft<PolymeshState>, action: PayloadAction<Polymesh>): void;
    setWallet(state: import("immer/dist/internal").WritableDraft<PolymeshState>, action: PayloadAction<any>): void;
    setCurrentAccount(state: import("immer/dist/internal").WritableDraft<PolymeshState>, action: PayloadAction<string>): void;
    setHasUid(state: import("immer/dist/internal").WritableDraft<PolymeshState>, action: PayloadAction<boolean>): void;
    setCurrentIdentity(state: import("immer/dist/internal").WritableDraft<PolymeshState>, action: PayloadAction<CurrentIdentity>): void;
    setIsDidValid(state: import("immer/dist/internal").WritableDraft<PolymeshState>, action: PayloadAction<boolean>): void;
    setDidIssuer(state: import("immer/dist/internal").WritableDraft<PolymeshState>, action: PayloadAction<Identity>): void;
    setDidExpiry(state: import("immer/dist/internal").WritableDraft<PolymeshState>, action: PayloadAction<Date | null | undefined>): void;
    setPermissions(state: import("immer/dist/internal").WritableDraft<PolymeshState>, action: PayloadAction<Permissions>): void;
    setIsItn(state: import("immer/dist/internal").WritableDraft<PolymeshState>, action: PayloadAction<boolean>): void;
    setChainProperties(state: import("immer/dist/internal").WritableDraft<PolymeshState>, action: PayloadAction<any>): void;
}>;
/**
 * Factory function to return state selectors from provided polymesh selector
 * @param polymeshSelector selector function for polymesh state
 */
export declare function getPolymeshStateSelectors<RootState>(polymeshSelector: (rootState: RootState) => PolymeshState): {
    polymeshSelector: (rootState: RootState) => PolymeshState;
    walletSelector: import("reselect").OutputSelector<RootState, any, (res: PolymeshState) => any>;
    sdkSelector: import("reselect").OutputSelector<RootState, Polymesh, (res: PolymeshState) => Polymesh>;
    currentAccountSelector: import("reselect").OutputSelector<RootState, string | undefined, (res: PolymeshState) => string | undefined>;
    currentIdentitySelector: import("reselect").OutputSelector<RootState, import("@polymathnetwork/polymesh-sdk/internal").CurrentIdentity | undefined, (res: PolymeshState) => import("@polymathnetwork/polymesh-sdk/internal").CurrentIdentity | undefined>;
    isDidValidSelector: import("reselect").OutputSelector<RootState, boolean | undefined, (res: PolymeshState) => boolean | undefined>;
    didIssuerSelector: import("reselect").OutputSelector<RootState, import("@polymathnetwork/polymesh-sdk/internal").Identity | undefined, (res: PolymeshState) => import("@polymathnetwork/polymesh-sdk/internal").Identity | undefined>;
    didExpirySelector: import("reselect").OutputSelector<RootState, Date | null | undefined, (res: PolymeshState) => Date | null | undefined>;
    hasUidSelector: import("reselect").OutputSelector<RootState, boolean | undefined, (res: PolymeshState) => boolean | undefined>;
    permissionsSelector: import("reselect").OutputSelector<RootState, Permissions | undefined, (res: PolymeshState) => Permissions | undefined>;
    isItnSelector: import("reselect").OutputSelector<RootState, boolean | undefined, (res: PolymeshState) => boolean | undefined>;
    chainPropertiesSelector: import("reselect").OutputSelector<RootState, any, (res: PolymeshState) => any>;
};
//# sourceMappingURL=polymesh.d.ts.map