import OmneediaAuth from './auth';
export default class OmneediaAuthAPI {
    protected auth: OmneediaAuth;
    protected cookieOptions: {
        name: string;
        lifetime: number;
        domain: string;
        path: string;
        sameSite: string;
    };
    constructor(auth: OmneediaAuth);
    /**
     * Set/delete the auth cookie based on the AuthChangeEvent.
     * Works for Next.js & Express (requires cookie-parser middleware).
     */
    setAuth(req: any, res: any, body: any): void;
    /**
     * Get user by reading the cookie from the request.
     * Works for Next.js & Express (requires cookie-parser middleware).
     */
    getUser(req: any): Promise<any>;
}
//# sourceMappingURL=auth_api.d.ts.map