import { Editor, NodeEntry, Text } from 'slate';
import { Slate } from '@makeswift/controls';
export declare function getLinksAndTextInSelection(editor: Editor): NodeEntry<Slate.LinkElement | Text>[];
export declare const getValue: (editor: Editor) => {
    type: "OPEN_PAGE";
    payload: {
        openInNewTab: boolean;
        pageId: string | null | undefined;
    };
} | {
    type: "OPEN_URL";
    payload: {
        url: string;
        openInNewTab: boolean;
    };
} | {
    type: "SEND_EMAIL";
    payload: {
        to: string;
        subject?: string | undefined;
        body?: string | undefined;
    };
} | {
    type: "CALL_PHONE";
    payload: {
        phoneNumber: string;
    };
} | {
    type: "SCROLL_TO_ELEMENT";
    payload: {
        elementIdConfig: {
            elementKey: string;
            propName: string;
        } | null | undefined;
        block: "start" | "center" | "end" | "nearest";
    };
} | null | undefined;
//# sourceMappingURL=getValue.d.ts.map