/** * @pwngh/economy-lab * * Copyright (c) Preston Neal * * This source code is licensed under the MIT license found in the * LICENSE.md file in the root directory of this source tree. * * @license MIT */ import type { TiliaPayee } from '@pwngh/economy-edge/providers/outbound/tilia'; import type { PgPoolLike } from '../engines/pg-driver.js'; /** The one query method the store needs; a pg pool or client (pg-driver.ts) satisfies it. */ export type PayeeDb = Pick; export interface TiliaPayeeStore { ensureSchema(): Promise; resolve(userId: string): Promise; } export declare function tiliaPayeeStore(db: PayeeDb): TiliaPayeeStore;