import { type Selectable } from 'kysely'; import type * as Db from '../Db.js'; import type * as db_Schema from '../Schema.js'; /** Columns of the `funding_deposit_request_observations` table. */ export type Table = db_Schema.FundingDepositRequestObservation; /** First Tempo observations of one provider request. */ export type Record = Selectable; /** Gets observation timestamps for one provider request. */ export declare function get(db: Db.Db, options: get.Options): Promise; export declare namespace get { /** Provider request identity scoped to one reusable address. */ type Options = { /** Funding deposit address id (`fda_…`). */ depositAddressId: string; /** Provider request identifier. */ providerRequestId: string; }; } /** Records when polling first observed each provider request. */ export declare function observePoll(db: Db.Db, options: observePoll.Options): Promise; export declare namespace observePoll { /** Provider requests observed in one successful poll response. */ type Options = { /** Funding deposit address id (`fda_…`). */ depositAddressId: string; /** When Tempo observed the provider requests. */ observedAt: string; /** Provider request identifiers returned by the poll. */ providerRequestIds: readonly string[]; }; } /** Records when Tempo first received an authenticated webhook for a provider request. */ export declare function observeWebhook(db: Db.Db, options: observeWebhook.Options): Promise; export declare namespace observeWebhook { /** Authenticated webhook observation for one provider request. */ type Options = { /** Funding deposit address id (`fda_…`). */ depositAddressId: string; /** Provider request identifier. */ providerRequestId: string; /** When Tempo received the webhook. */ receivedAt: string; }; } //# sourceMappingURL=fundingDepositRequestObservations.d.ts.map