export declare function permutation(arr: T[] | unknown, r?: number): T[][];