export declare function hash(data: string, salt?: string | number): Promise; export declare function compare(raw: string, hashed: string): Promise;