/** * @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 { EdgeOutbound } from '@pwngh/economy-edge'; import type { RawWebhook } from '@pwngh/economy-edge/ports'; import type { TiliaConfig } from '@pwngh/economy-edge/providers/outbound/tilia'; import type { PayeeDirectory, Processor } from '../ports.js'; import type { FloatFeed } from '../worker/treasury.js'; export declare function edgeTiliaProcessor(outbound: EdgeOutbound): Processor; export declare function edgeTiliaPayees(outbound: EdgeOutbound): PayeeDirectory; export declare function edgeTiliaFloat(outbound: EdgeOutbound): FloatFeed; export declare function payoutMatchKeyOf(providerRef: string): string; export interface EdgeTiliaCapabilities { readonly processor: Processor; readonly payees: PayeeDirectory; readonly float: FloatFeed; readonly outbound: EdgeOutbound; verifyWebhook(webhook: RawWebhook): Promise; } export declare function edgeTiliaCapabilities(config: TiliaConfig): EdgeTiliaCapabilities;