declare const getTokenOptions: () => {
    secret: string;
    options: {
        expiresIn: string;
    } & {
        [key: string]: unknown;
        expiresIn?: string | number;
    };
};
/**
 * True when the project set `admin.auth.options.expiresIn`.
 * Do not use merged options from {@link getTokenOptions}: defaults always inject `expiresIn: '30d'`,
 * which would make every install look like a legacy config (see GitHub #25989).
 */
declare const hasUserConfiguredAuthOptionsExpiresIn: (adminAuthOptions: unknown) => boolean;
/**
 * Create a random token
 */
declare const createToken: () => string;
declare const checkSecretIsDefined: () => void;
export { createToken, getTokenOptions, checkSecretIsDefined, hasUserConfiguredAuthOptionsExpiresIn, };
/**
 * Convert an expiresIn value (string or number) into seconds.
 * Supported formats:
 * - number: treated as seconds
 * - numeric string (e.g. "180"): treated as seconds
 * - shorthand string: "Xs", "Xm", "Xh", "Xd", "Xw" (case-insensitive)
 * Returns undefined when value is not set or invalid.
 */
export declare const expiresInToSeconds: (expiresIn: unknown) => number | undefined;
//# sourceMappingURL=token.d.ts.map