import type { CreateDialogErrorCode, CreateDialogInput, CreateDialogResult } from '@longrun-ai/kernel/types/wire';
export type CreateDialogParseFailure = {
    requestId: string;
    status: 400;
    errorCode: CreateDialogErrorCode;
    error: string;
};
export declare function parseCreateDialogInput(parsed: Record<string, unknown>): CreateDialogInput | CreateDialogParseFailure;
export declare function makeCreateDialogFailure(requestId: string, errorCode: CreateDialogErrorCode, error: string): Extract<CreateDialogResult, {
    kind: 'failure';
}>;
export declare function normalizeCreateDialogErrorCode(raw: unknown): CreateDialogErrorCode;
