import { B as Bindings, V as Variables } from '../shared/hive.DW0H1Mo_.js'; import * as hono_client0 from 'hono/client'; import * as hono_utils_http_status0 from 'hono/utils/http-status'; import * as hono_hono_base0 from 'hono/hono-base'; import * as hono0 from 'hono'; import '../shared/hive.DlaRxYsk.js'; import '../sdk/transaction.js'; import 'zod'; import '../sdk/logger.js'; import '../streams/index.js'; import 'hono/factory'; import '../sdk/auth.js'; //#region src/index.d.ts declare const api: () => hono_hono_base0.HonoBase<{ Bindings: Bindings; Variables: Variables; } & { Bindings: Bindings; Variables: Variables; }, { "/v1": { $get: { input: {}; output: { data: { version: string; }; error: null; }; outputFormat: "json"; status: 200; }; }; } & { "/v1/health": { $get: { input: {}; output: { data: null; error: null; }; outputFormat: "json"; status: 200; }; }; } & { "/v1/auth/verify": { $get: { input: { query?: { scope?: string | undefined; } | undefined; }; output: {}; outputFormat: string; status: hono_utils_http_status0.StatusCode; }; }; } & { "/v1/resources": { $get: { input: {}; output: {}; outputFormat: string; status: hono_utils_http_status0.StatusCode; }; }; } & { "/v1/resources": { $post: { input: {}; output: { data: { resource: { key: string; }; }; error: null; }; outputFormat: "json"; status: 200; }; }; } & { "/v1/resources/:key{.*?}/resources": { $get: { input: { param: { key: string; }; }; output: {}; outputFormat: string; status: hono_utils_http_status0.StatusCode; }; }; } & { "/v1/resources/:key{.*?}/metadata": { $get: { input: { param: { key: string; }; }; output: {}; outputFormat: string; status: hono_utils_http_status0.StatusCode; }; }; } & { "/v1/resources/:key{.*?}/contents": { $get: { input: { param: { key: string; }; }; output: {}; outputFormat: string; status: hono_utils_http_status0.StatusCode; }; }; } & { "/v1/resources/:key{.*?}/contents": { $put: { input: { param: { key: string; }; }; output: {}; outputFormat: string; status: hono_utils_http_status0.StatusCode; }; }; } & { "/v1/resources/:key{.*?}/transactions": { $post: { input: { param: { key: string; }; }; output: {}; outputFormat: string; status: hono_utils_http_status0.StatusCode; }; }; } & { "/v1/resources/:key{.*?}": { $get: { input: { param: { key: string; }; }; output: {}; outputFormat: string; status: hono_utils_http_status0.StatusCode; }; }; } & { "/v1/resources/:key{.*?}": { $delete: { input: { param: { key: string; }; }; output: {}; outputFormat: string; status: hono_utils_http_status0.StatusCode; }; }; }, "/">; type Api = typeof api; declare const client: (baseUrl: string, options?: hono0.ClientRequestOptions) => { v1: hono_client0.ClientRequest<{ $get: { input: {}; output: { data: { version: string; }; error: null; }; outputFormat: "json"; status: 200; }; }>; } & { v1: { health: hono_client0.ClientRequest<{ $get: { input: {}; output: { data: null; error: null; }; outputFormat: "json"; status: 200; }; }>; }; } & { v1: { auth: { verify: hono_client0.ClientRequest<{ $get: { input: { query?: { scope?: string | undefined; } | undefined; }; output: {}; outputFormat: string; status: hono_utils_http_status0.StatusCode; }; }>; }; }; } & { v1: { resources: hono_client0.ClientRequest<{ $get: { input: {}; output: {}; outputFormat: string; status: hono_utils_http_status0.StatusCode; }; } & { $post: { input: {}; output: { data: { resource: { key: string; }; }; error: null; }; outputFormat: "json"; status: 200; }; }>; }; } & { v1: { resources: { ":key{.*?}": { resources: hono_client0.ClientRequest<{ $get: { input: { param: { key: string; }; }; output: {}; outputFormat: string; status: hono_utils_http_status0.StatusCode; }; }>; }; }; }; } & { v1: { resources: { ":key{.*?}": { metadata: hono_client0.ClientRequest<{ $get: { input: { param: { key: string; }; }; output: {}; outputFormat: string; status: hono_utils_http_status0.StatusCode; }; }>; }; }; }; } & { v1: { resources: { ":key{.*?}": { contents: hono_client0.ClientRequest<{ $get: { input: { param: { key: string; }; }; output: {}; outputFormat: string; status: hono_utils_http_status0.StatusCode; }; } & { $put: { input: { param: { key: string; }; }; output: {}; outputFormat: string; status: hono_utils_http_status0.StatusCode; }; }>; }; }; }; } & { v1: { resources: { ":key{.*?}": { transactions: hono_client0.ClientRequest<{ $post: { input: { param: { key: string; }; }; output: {}; outputFormat: string; status: hono_utils_http_status0.StatusCode; }; }>; }; }; }; } & { v1: { resources: { ":key{.*?}": hono_client0.ClientRequest<{ $get: { input: { param: { key: string; }; }; output: {}; outputFormat: string; status: hono_utils_http_status0.StatusCode; }; } & { $delete: { input: { param: { key: string; }; }; output: {}; outputFormat: string; status: hono_utils_http_status0.StatusCode; }; }>; }; }; }; export { api, client }; export type { Api };