import { IsEvenLength, Surround } from "./types"; /** * Surrounds the `str` with `surrounding`. `surrounding` must have an even length. * * @example * ``` * surround("foo", "()") // "(foo)" * surround("foo", "({[]})") // "({[foo]})" * ``` */ export declare const surround: (str: A, surrounding: B) => B extends "" ? A : IsEvenLength extends true ? Surround : never; export default surround;