import { APIResource } from "../../core/resource.js"; import { APIPromise } from "../../core/api-promise.js"; import { OffsetPage, type OffsetPageParams, PagePromise } from "../../core/pagination.js"; import { RequestOptions } from "../../internal/request-options.js"; export declare class Formatted extends APIResource { /** * Returns a page of tools from the engine configuration, optionally filtered by * toolkit, formatted for a specific provider */ list(query?: FormattedListParams | null | undefined, options?: RequestOptions): PagePromise; /** * Returns the formatted tool specification for a specific tool, given a provider */ get(name: string, query?: FormattedGetParams | null | undefined, options?: RequestOptions): APIPromise; } export type FormattedListResponsesOffsetPage = OffsetPage; export type FormattedListResponse = { [key: string]: unknown; }; export type FormattedGetResponse = { [key: string]: unknown; }; export interface FormattedListParams extends OffsetPageParams { /** * Provider format */ format?: string; /** * Include all versions of each tool */ include_all_versions?: boolean; /** * Toolkit name */ toolkit?: string; /** * User ID */ user_id?: string; } export interface FormattedGetParams { /** * Provider format */ format?: string; /** * User ID */ user_id?: string; } export declare namespace Formatted { export { type FormattedListResponse as FormattedListResponse, type FormattedGetResponse as FormattedGetResponse, type FormattedListResponsesOffsetPage as FormattedListResponsesOffsetPage, type FormattedListParams as FormattedListParams, type FormattedGetParams as FormattedGetParams, }; } //# sourceMappingURL=formatted.d.ts.map