Export load from +page.server.js. The database helper is a placeholder for your own server-only module, returning lists with id and name fields.
import { getListsFromDatabase } from '#lib/server/db.js';
/** @type {import('./$types').PageServerLoad} */
export async function load() {
return {
lists: await getListsFromDatabase(),
};
}