import * as Effect from "effect/Effect"; import type { Workspace } from "./Workspace.ts"; /** * Shared scaffolding for AWS Managed Grafana HTTP bindings. * * NOT exported from `index.ts` — every `{Op}Http.ts` in this service is a * thin `Layer.effect(Cap, make…HttpBinding({ … }))` over one of the builders * below. Everything except the operation and the IAM action list is * boilerplate. */ /** * Build the impl Effect for an account-level operation (e.g. listing the * available Grafana versions). The deploy-time half grants `actions` on `*`. */ export declare const makeGrafanaAccountHttpBinding: (options: { /** Fully-qualified binding tag, e.g. `AWS.Grafana.ListVersions`. */ tag: string; /** The distilled operation, invoked with the caller's request as-is. */ operation: Effect.Effect<(input: I) => Effect.Effect, never, R>; /** IAM actions granted on `*`. */ actions: readonly string[]; }) => Effect.Effect<() => Effect.Effect<(request?: I | undefined) => Effect.Effect, never, never>, never, R>; /** * Build the impl Effect for a workspace-scoped operation: the runtime * callable injects the bound {@link Workspace}'s id as `workspaceId` and the * deploy-time half grants `actions` on the workspace ARN. */ export declare const makeGrafanaWorkspaceHttpBinding: (options: { /** Fully-qualified binding tag, e.g. `AWS.Grafana.ListPermissions`. */ tag: string; /** The distilled operation; `workspaceId` is injected from the workspace. */ operation: Effect.Effect<(input: I) => Effect.Effect, never, R>; /** IAM actions granted on the workspace ARN. */ actions: readonly string[]; }) => Effect.Effect<(workspace: Workspace) => Effect.Effect<(request?: Omit | undefined) => Effect.Effect, never, never>, never, R>; //# sourceMappingURL=BindingHttp.d.ts.map