9 lines
426 B
Plaintext
9 lines
426 B
Plaintext
import { MatcherBaseClass, MatchOptions, SeparatorMatch } from '../../types';
|
|
type SeparatorMatchOptions = Pick<MatchOptions, 'password'>;
|
|
declare class MatchSeparator extends MatcherBaseClass {
|
|
static getMostUsedSeparatorChar(password: string): string | undefined;
|
|
static getSeparatorRegex(separator: string): RegExp;
|
|
match({ password }: SeparatorMatchOptions): SeparatorMatch[];
|
|
}
|
|
export default MatchSeparator;
|