| 1 |
interface blockEditorStoreSelectorCustomTypes { |
| 2 |
getBlockParents: (clientId: string, ascending?: boolean) => string[]; |
| 3 |
} |
| 4 |
|
| 5 |
interface blockEditorStoreActionsCustomTypes { |
| 6 |
moveBlocksToPosition: ( |
| 7 |
clientIds: string | string[], |
| 8 |
fromRootClientId?: string, |
| 9 |
toRootClientId?: string, |
| 10 |
index?: number |
| 11 |
) => void; |
| 12 |
} |
| 13 |
|
| 14 |
declare type BlockEditorStoreSelectors = |
| 15 |
typeof import("@wordpress/block-editor/store/selectors") & |
| 16 |
blockEditorStoreSelectorCustomTypes; |
| 17 |
declare type BlockEditorStoreActions = |
| 18 |
typeof import("@wordpress/block-editor/store/actions") & |
| 19 |
blockEditorStoreActionsCustomTypes; |
| 20 |
|
| 21 |
declare type EditorStoreSelectors = |
| 22 |
typeof import("@wordpress/editor/store/selectors"); |
| 23 |
|