/** * Returns first element of given array or `undefined` if array is empty. * * @param buf - array */ export declare const first: (buf: ArrayLike) => T; /** * Returns last element of given array or `undefined` if array is empty. * * @param buf - array */ export declare const peek: (buf: ArrayLike) => T; //# sourceMappingURL=peek.d.ts.map