export type StoreState = { preferences: { [k in string]: { [p in string]: any; }; }; defaults: { [k in string]: { [p in string]: any; }; }; }; export type OmitFirstArg = F extends (x: any, ...args: infer P) => infer R ? (...args: P) => R : never; export interface WPPreferencesPersistenceLayer { /** * An async function that gets data from the persistence layer. */ get: () => Promise; /** * A function that sets data in the persistence layer. */ set: (value: D) => void; } export type ActionObject, any> = {}> = { type: T; } & D; //# sourceMappingURL=types.d.ts.map