export function normalizePromptPaste(text) {
    return text.replace(/\r\n/g, "\n").replace(/\r/g, "\n");
}
export function pastedLineCount(text) {
    if (!text)
        return 0;
    return normalizePromptPaste(text).split("\n").length;
}
