/**
 * Slice an array from the start to the first LF character, returning both pieces.
 *
 * If no LF character is found sliced will have a length of 0.
 *
 * CR characters are not removed if present!
 */
export declare function sliceToNewline(msg: Uint8Array): {
    sliced: Uint8Array;
    remainder: Uint8Array;
};
/** Slice a string from the start to the first CRLF or LF, returning both pieces. */
export declare function sliceToCRLF(msg: string): {
    sliced: string;
    remainder: string;
};
//# sourceMappingURL=StringUtils.d.ts.map