declare function sample(obj: any, n: number): any[]; export = sample;