export declare function limit(array: T[], count: number): T[]; export declare function limit(str: string, count: number): string;