import { type PikkuSchema } from './pikku-schema.types.js'; /** * Encrypted per-user credentials and their audit trail. * * The uniqueness rule is an expression index — `user_id` is nullable and two * rows with a null user must still collide on name — which the schema builder * cannot express, so it stays raw. Raw SQL is not rewritten by `withSchema`, * which is why the table goes through `ctx.table` rather than being left to the * search path. The index's own name stays unqualified: an index belongs to the * schema of the table it is on, and postgres rejects one that says otherwise. */ export declare const credentialSchema: PikkuSchema;