Files
SnowLuma/.pnpm-store/v11/files/1f/b3f224ae2638b81216c2f3f136973b7e5f1b8f34517cc5edd5e2e79126b3d814d83ad17c32a4994335546b5e49d826a2e273f6944f7b10f370698e58a6ea3a
T
TanTan 2a69b23b47
Dev Build / cleanup (push) Waiting to run
Dev Build / typecheck (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:27:07 +08:00

25 lines
864 B
Plaintext

import { MatcherBaseClass, DateMatch, MatchOptions } from '../../types';
type DateMatchOptions = Pick<MatchOptions, 'password'>;
declare class MatchDate extends MatcherBaseClass {
match({ password }: DateMatchOptions): import("../..").MatchExtended[];
getMatchesWithSeparator(password: string): DateMatch[];
getMatchesWithoutSeparator(password: string): DateMatch[];
filterNoise(matches: DateMatch[]): DateMatch[];
mapIntegersToDayMonthYear(integers: number[]): {
year: number;
month: number;
day: number;
} | null;
getDayMonth(integers: number[]): {
year: number;
month: number;
day: number;
} | null;
mapIntegersToDayMonth(integers: number[]): {
day: number;
month: number;
} | null;
twoToFourDigitYear(year: number): number;
}
export default MatchDate;