import type { BlockEditProps, BlockReadProps } from "../types.js"; import type { ApiEndpointData } from "./api-endpoint.config.js"; /** * Read-only renderer for an `api-endpoint` block. Collapsed by default: a single * row with a colored method pill, monospace path, muted summary, and a chevron. * Clicking the row expands the full reference (description, params table, * request body, responses) — the Swagger / Stripe house style. Every colored * element is theme-aware (`dark:` variants), so it reads correctly in both the * `.dark` plan theme and light mode. */ export declare function ApiEndpointRead({ data, blockId, title, summary, ctx, }: BlockReadProps): import("react").JSX.Element; /** * Panel editor for an `api-endpoint` block. A property form: method (Select), * path/summary/auth (Input), description (Textarea), deprecated (Switch), plus * repeatable rows for params and responses (add/remove) and a request-body * textarea. Renders BARE content (no `
`); the registry's panel surface * supplies the popover chrome. */ export declare function ApiEndpointEdit({ data, onChange, editable, }: BlockEditProps): import("react").JSX.Element; //# sourceMappingURL=ApiEndpointBlock.d.ts.map