import * as _digicroz_js_kit_std_response from '@digicroz/js-kit/std-response'; import { JwtPayload, JwtVerifyOptions, JwtResult, JwtSignOptions, JwtErrorType, JwtDecodeOptions } from '../types/jwt.types.cjs'; import 'jsonwebtoken'; type TJwtVerifyProps = { token: string; secret: string | Buffer; options?: JwtVerifyOptions; }; declare function jwtVerify({ token, secret, options, }: TJwtVerifyProps): Promise>; type TJwtSignProps = { payload: T; secret: string | Buffer; options?: JwtSignOptions; }; declare function jwtSign({ payload, secret, options, }: TJwtSignProps): Promise<_digicroz_js_kit_std_response.StdError | _digicroz_js_kit_std_response.StdError | _digicroz_js_kit_std_response.StdSuccess | _digicroz_js_kit_std_response.StdError>; type TJwtDecodeProps = { token: string; options?: JwtDecodeOptions; }; declare function jwtDecode({ token, options, }: TJwtDecodeProps): JwtResult; export { jwtDecode, jwtSign, jwtVerify };