import type * as agentcore from "@distilled.cloud/aws/bedrock-agentcore"; import type * as Effect from "effect/Effect"; import * as Binding from "../../Binding.ts"; import type { Memory } from "./Memory.ts"; export interface DeleteMemoryRecordRequest extends Omit { } /** * Deletes a long-term memory record. * * Bind a {@link Memory} inside a function runtime to call the * AgentCore data-plane API against it. Provide `AgentCore.DeleteMemoryRecordHttp` * on the Function effect to implement the binding. * * ### Deleting Memory Records * **Example:** Delete a Record by Id * ```typescript * // init * const deleteMemoryRecord = yield* AgentCore.DeleteMemoryRecord(memory); * * return { * fetch: Effect.gen(function* () { * // runtime * yield* deleteMemoryRecord({ memoryRecordId }); * return HttpServerResponse.json({ deleted: true }); * }), * }; * ``` * * @binding */ export interface DeleteMemoryRecord extends Binding.Service(memory: R) => Effect.Effect<(request: DeleteMemoryRecordRequest) => Effect.Effect>> { } export declare const DeleteMemoryRecord: DeleteMemoryRecord; //# sourceMappingURL=DeleteMemoryRecord.d.ts.map