export declare function endsWith(tail: string, seq: string): boolean;
export declare function endsWith<A>(tail: A | A[], seq: A[]): boolean;
export declare function endsWith(tail: string): (seq: string) => boolean;
export declare function endsWith<A>(tail: A | A[]): (seq: A[]) => boolean;
