import type { BinaryLike, SessionOptions } from './types';
import type { RequestEvent } from '@sveltejs/kit';
import type { MaybePromise } from '@sveltejs/kit';
export declare function expiresToMaxage(expires: number, expires_in: 'days' | 'hours' | 'minutes' | 'seconds'): number;
export declare function maxAgeToDateOfExpiry(maxAge: number): Date;
export interface Secret {
    id: number;
    secret: BinaryLike;
}
export interface NormalizedConfig {
    init: (event: RequestEvent) => MaybePromise<any>;
    saveUninitialized: boolean;
    key: string;
    expires: number;
    expires_in: 'days' | 'hours' | 'minutes' | 'seconds';
    chunked: boolean;
    cookie: {
        maxAge: number;
        httpOnly: boolean;
        sameSite: any;
        path: string;
        domain: string | undefined;
        secure: boolean;
        priority?: 'low' | 'medium' | 'high';
        partitioned?: boolean;
    };
    rolling: number | boolean | undefined;
    secrets: Array<Secret>;
}
export declare function normalizeConfig(options: SessionOptions, isSecure?: boolean): NormalizedConfig;
