import type { ApiClient } from "../../api";
/**
 * Resolves an `inbox` locator (UUID or name) to a UUID.
 *
 * Per the locator rule, the value is loose: the API takes a UUID, but the
 * SDK accepts either form. UUID-shaped inputs pass through unchanged;
 * anything else is looked up by name via `GET /inboxes?name=...`.
 *
 * Edge case: if a user names an inbox with a UUID-shaped string, this
 * method treats it as a UUID. To target a UUID-shaped name, use
 * `listTriggerInboxes({ name })` to get the actual UUID, then pass that.
 */
export declare function resolveTriggerInboxId({ api, inbox, }: {
    api: ApiClient;
    inbox: string;
}): Promise<string>;
/**
 * Pulls `errors[0].detail` off a JSON:API-style error response body.
 * Returns `undefined` for any shape that doesn't match, so callers can
 * fall back to a default message.
 */
export declare function extractErrorDetail(data: unknown): string | undefined;
//# sourceMappingURL=utils.d.ts.map