UNPKG

phonic

Version:

[![fern shield](https://img.shields.io/badge/%F0%9F%8C%BF-Built%20with%20Fern-brightgreen)](https://buildwithfern.com?utm_source=github&utm_medium=github&utm_campaign=readme&utm_source=https%3A%2F%2Fgithub.com%2FPhonic-Co%2Fphonic-node) [![npm shield](htt

13 lines (12 loc) 456 B
import type { EndpointMetadata } from "./EndpointMetadata.mjs"; import type { Supplier } from "./Supplier.mjs"; type EndpointSupplierFn<T> = (arg: { endpointMetadata?: EndpointMetadata; }) => T | Promise<T>; export type EndpointSupplier<T> = Supplier<T> | EndpointSupplierFn<T>; export declare const EndpointSupplier: { get: <T>(supplier: EndpointSupplier<T>, arg: { endpointMetadata?: EndpointMetadata; }) => Promise<T>; }; export {};