import { SQL } from "drizzle-orm"; /** * Returns a SQL chunk calling `auth.uid()` — the current user's ID. * This is a PostgreSQL RLS helper function created in the `auth` schema * that reads `app.user_id` set per-transaction by `withAuth()`. * * @example * sql`${table.user_id} = ${authUid()}` */ export declare const authUid: () => SQL; /** * Returns a SQL chunk calling `auth.roles()` — the current user's roles * as a comma-separated string. * Reads `app.user_roles` set per-transaction by `withAuth()`. * * @example * sql`auth.roles() ~ 'admin'` */ export declare const authRoles: () => SQL; /** * Returns a SQL chunk calling `auth.jwt()` — the full JWT claims as JSONB. * Reads `app.jwt` set per-transaction by `withAuth()`. * * @example * sql`auth.jwt()->>'sub'` */ export declare const authJwt: () => SQL;