import { type IntegrationErrorCode } from './integration-error-codes'; export interface IntegrationErrorResponse { ok: false; error: { code: IntegrationErrorCode; message: string; }; } export declare function integrationError(code: IntegrationErrorCode, message: string): IntegrationErrorResponse; export declare function connectionUnavailable(): IntegrationErrorResponse; export declare function unsupportedQuery(platform: string, query: string): IntegrationErrorResponse; export declare function unsupportedAction(platform: string, action: string): IntegrationErrorResponse; export declare function normalizePlatformId(platform: string, id: string): string; export declare function isRecord(value: unknown): value is Record; export declare function stringValue(value: unknown): string | undefined; export declare function stringProperty(value: unknown, key: string): string | undefined; export declare function numberProperty(value: unknown, key: string): number | undefined; export declare function booleanProperty(value: unknown, key: string): boolean | undefined; export declare function isoDateProperty(value: unknown, key: string): string | undefined; export declare function removeUndefinedValues>(value: T): Record; export declare function isDefined(value: T | undefined): value is T;