import { type SignOptions } from 'jsonwebtoken';
export interface AccessTokenPayload {
    userId: string;
    role: string;
}
export interface RefreshTokenPayload {
    sessionId: string;
    userId: string;
}
export declare function signAccessToken(payload: AccessTokenPayload, secret: string, expiresIn?: SignOptions['expiresIn']): string;
export declare function verifyAccessToken(token: string, secret: string): AccessTokenPayload;
export declare function signRefreshToken(payload: RefreshTokenPayload, secret: string, expiresIn?: SignOptions['expiresIn']): string;
export declare function verifyRefreshToken(token: string, secret: string): RefreshTokenPayload;
//# sourceMappingURL=jwt.d.ts.map