import { H3Event } from 'h3'; import type { AuthConfig } from './config.js'; /** * Sets authentication cookies for a given strategy. * @param event The H3 event from the request. * @param strategyName The name of the strategy. * @param token The authentication token. * @param refreshToken The refresh token. * @param expires The expiration timestamp. * @param config The authentication configuration. */ export declare function setAuthCookies(event: H3Event, strategyName: string, token: string, refreshToken: string, expires: number, config: AuthConfig): void; /** * Deletes authentication cookies for a given strategy. * @param event The H3 event from the request. * @param strategyName The name of the strategy. * @param config The authentication configuration. * @param includeTwoFactor Whether to also delete 2FA cookies. */ export declare function deleteAuthCookies(event: H3Event, strategyName: string, config: AuthConfig, includeTwoFactor?: boolean): void; /** * Sets 2FA authentication cookies. * @param event The H3 event from the request. * @param strategyName The name of the strategy. * @param token The 2FA token. * @param expires The expiration timestamp. * @param config The authentication configuration. */ export declare function setTwoFactorCookies(event: H3Event, strategyName: string, token: string, expires: number, config: AuthConfig): void;