16 lines
584 B
TypeScript
16 lines
584 B
TypeScript
import { Store } from '@mui/x-internals/store';
|
|
import type { BaseState, ParamsWithDefaults } from "../useVirtualizer.js";
|
|
export declare const Keyboard: {
|
|
initialize: typeof initializeState;
|
|
use: typeof useKeyboard;
|
|
selectors: {};
|
|
};
|
|
export declare namespace Keyboard {
|
|
type State = {};
|
|
type API = ReturnType<typeof useKeyboard>;
|
|
}
|
|
declare function initializeState(_params: ParamsWithDefaults): Keyboard.State;
|
|
declare function useKeyboard(store: Store<BaseState & Keyboard.State>, params: ParamsWithDefaults, _api: {}): {
|
|
getViewportPageSize: () => number;
|
|
};
|
|
export {}; |