import type { JSONNode } from '@atlaskit/editor-json-transformer'; import type { Selection } from '@atlaskit/editor-prosemirror/state'; /** * Get the fragments from the selection. * @param selection The selection to get the fragments from. * @param schema The schema to use to convert the nodes to JSON. * @returns The fragments as an array of JSON nodes. */ export declare const getFragmentsFromSelection: (selection?: Selection) => JSONNode[] | null;