import type { Schema } from 'prosemirror-model';
import type { Transaction } from 'prosemirror-state';
import type { EditorProps } from "../../../pm/view.js";
export type CodePasteData = {
    editor: string;
    value: string;
    inline: boolean;
    mode?: string;
};
type InsertCodeParams = {
    tr: Transaction;
    schema: Schema;
    code: CodePasteData;
    from: number;
    to: number;
    inCodeBlock: boolean;
};
export declare const handlePaste: NonNullable<EditorProps['handlePaste']>;
export declare function insertCode({ tr, schema, code, from, to, inCodeBlock }: InsertCodeParams): void;
export declare function getCodeData(data: DataTransfer): CodePasteData | null;
export declare function isInlineCode(text: string): boolean;
export {};
