type Matcher<T> = Partial<T> | ((payload: T) => true | string);
declare const jwt: <T extends object>(secret: string, alg?: "HS256" | "HS512", matcher?: Matcher<T>) => {
	verify: (token: string) => Promise<[boolean, T | {
		error: string
	}]>
};

export { jwt };
