import { Session } from "../../resources/session/session.resource";
interface DatabaseSessionAttributes {
    homeWorkspaceId: string;
    currentWorkspaceId: string;
}
/** @monorepo-internal */
export declare function createSession(userId: string, { homeWorkspaceId, currentWorkspaceId }: DatabaseSessionAttributes): Promise<Session>;
export declare function invalidateSession(token: string): Promise<void>;
/** @monorepo-internal */
export declare function createSessionCookie(sessionId: string): import("../../../../../generated/npm-package/undocumented").Cookie;
export {};
