import type { GridState } from '../reducer'; type StateKey = keyof GridState; type Selector = (state: TState, ...args: TArgs) => TResult; type GlobalizedSelector = Selector; type SliceSelector = Selector, TArgs, TResult>; type StateSlice = GridState[TKey]; export declare const globalizeSelectors: infer Result_1 ? SliceSelector : never; }>(sliceKey: TKey, sliceSelectors: T) => { [P in keyof T]: T[P] extends (state: GridState[TKey], ...args: infer TArguments) => infer Result ? GlobalizedSelector : never; }; /** * This is only needed because of `default` and `generateSelectors` exports from the reducer files. * * The TypeScript logic doesn't map 1:1 to the code. Anything that starts with `select` will be returned, * but TypeScript will only exclude items in the Exclude phrase below. */ export declare const prepare: >(sliceSelectors: T) => { [P in keyof T as Exclude]: T[P]; }; export {}; //# sourceMappingURL=globalizeSelectors.d.ts.map