import { userProfile } from "../../db/runtime/runtime-schema.js";
import { AgentsRunDatabaseClient } from "../../db/runtime/runtime-client.js";

//#region src/data-access/runtime/userProfiles.d.ts
type UserProfile = typeof userProfile.$inferSelect;
type UpsertUserProfileData = {
  timezone?: string | null;
  attributes?: Record<string, unknown>;
};
declare const getUserProfile: (db: AgentsRunDatabaseClient) => (userId: string) => Promise<UserProfile | null>;
declare const createUserProfileIfNotExists: (db: AgentsRunDatabaseClient) => (userId: string) => Promise<void>;
declare const upsertUserProfile: (db: AgentsRunDatabaseClient) => (userId: string, data: UpsertUserProfileData) => Promise<UserProfile>;
//#endregion
export { UpsertUserProfileData, UserProfile, createUserProfileIfNotExists, getUserProfile, upsertUserProfile };