import type { FastifyReply } from 'fastify';
import type { AppConfig } from '../config.js';
export declare const cookieNames: {
    readonly session: "nterminal_session";
    readonly device: "nterminal_device";
};
export declare function authCookieOptions(config: AppConfig, maxAgeSeconds?: number): import("@fastify/cookie").CookieSerializeOptions;
export declare function setSessionCookie(reply: FastifyReply, config: AppConfig, sessionId: string): void;
export declare function setDeviceCookie(reply: FastifyReply, config: AppConfig, token: string): void;
export declare function clearSessionCookie(reply: FastifyReply, config: AppConfig): void;
export declare function clearAuthCookies(reply: FastifyReply, config: AppConfig): void;
