@salesforce/lds-adapters-sfap-einstein-ai-gateway 0.1.0-dev1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/LICENSE.txt +82 -0
  2. package/README.md +18 -0
  3. package/dist/es/es2018/sfap-einstein-ai-gateway.js +1792 -0
  4. package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +62 -0
  5. package/dist/es/es2018/types/src/generated/adapters/getEmbeddings.d.ts +37 -0
  6. package/dist/es/es2018/types/src/generated/adapters/getGenerations.d.ts +32 -0
  7. package/dist/es/es2018/types/src/generated/adapters/registerFeedback.d.ts +27 -0
  8. package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +3 -0
  9. package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +5 -0
  10. package/dist/es/es2018/types/src/generated/resources/postAiGptV1Embeddings.d.ts +27 -0
  11. package/dist/es/es2018/types/src/generated/resources/postAiGptV1Feedback.d.ts +26 -0
  12. package/dist/es/es2018/types/src/generated/resources/postAiGptV1Generations.d.ts +31 -0
  13. package/dist/es/es2018/types/src/generated/types/ChatMessage.d.ts +46 -0
  14. package/dist/es/es2018/types/src/generated/types/ContentQualityRepresentation.d.ts +28 -0
  15. package/dist/es/es2018/types/src/generated/types/ConversationalMemorySettings.d.ts +31 -0
  16. package/dist/es/es2018/types/src/generated/types/EmbeddingErrorRepresentation.d.ts +53 -0
  17. package/dist/es/es2018/types/src/generated/types/EmbeddingRequest.d.ts +44 -0
  18. package/dist/es/es2018/types/src/generated/types/EmbeddingResponse.d.ts +37 -0
  19. package/dist/es/es2018/types/src/generated/types/Embeddings.d.ts +31 -0
  20. package/dist/es/es2018/types/src/generated/types/Error.d.ts +28 -0
  21. package/dist/es/es2018/types/src/generated/types/FeedbackErrorRepresentation.d.ts +28 -0
  22. package/dist/es/es2018/types/src/generated/types/FeedbackRequest.d.ts +56 -0
  23. package/dist/es/es2018/types/src/generated/types/FeedbackResponse202Representation.d.ts +28 -0
  24. package/dist/es/es2018/types/src/generated/types/FeedbackResponseRepresentation.d.ts +38 -0
  25. package/dist/es/es2018/types/src/generated/types/GenerationDetails.d.ts +32 -0
  26. package/dist/es/es2018/types/src/generated/types/GenerationRequest.d.ts +66 -0
  27. package/dist/es/es2018/types/src/generated/types/GenerationResponse.d.ts +55 -0
  28. package/dist/es/es2018/types/src/generated/types/GenerationResponseGenerations.d.ts +44 -0
  29. package/dist/es/es2018/types/src/generated/types/GenerationSettings.d.ts +50 -0
  30. package/dist/es/es2018/types/src/generated/types/GenerationsErrorRepresentation.d.ts +28 -0
  31. package/dist/es/es2018/types/src/generated/types/HyperLink.d.ts +28 -0
  32. package/dist/es/es2018/types/src/generated/types/LLMProviderDetails.d.ts +43 -0
  33. package/dist/es/es2018/types/src/generated/types/LLMProviderResponse.d.ts +31 -0
  34. package/dist/es/es2018/types/src/generated/types/Links.d.ts +32 -0
  35. package/dist/es/es2018/types/src/generated/types/Localization.d.ts +35 -0
  36. package/dist/es/es2018/types/src/generated/types/ModelResponse.d.ts +31 -0
  37. package/dist/es/es2018/types/src/generated/types/PluginGenerationRequest.d.ts +25 -0
  38. package/dist/es/es2018/types/src/generated/types/PluginGenerationResponse.d.ts +25 -0
  39. package/dist/es/es2018/types/src/generated/types/ProbableLocale.d.ts +30 -0
  40. package/dist/es/es2018/types/src/generated/types/SafetyCategoryScores.d.ts +41 -0
  41. package/dist/es/es2018/types/src/generated/types/SafetyScoreRepresentation.d.ts +31 -0
  42. package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +32 -0
  43. package/dist/es/es2018/types/src/raml-artifacts/resources/postAiGptV1Embeddings/createResourceRequest.d.ts +20 -0
  44. package/dist/es/es2018/types/src/raml-artifacts/resources/postAiGptV1Feedback/createResourceRequest.d.ts +21 -0
  45. package/dist/es/es2018/types/src/raml-artifacts/resources/postAiGptV1Generations/createResourceRequest.d.ts +26 -0
  46. package/package.json +76 -0
  47. package/sfdc/index.d.ts +1 -0
  48. package/sfdc/index.js +1831 -0
  49. package/src/raml/api.raml +1003 -0
  50. package/src/raml/luvio.raml +38 -0
@@ -0,0 +1,62 @@
1
+ import { Adapter as $64$luvio_engine_Adapter, Snapshot as $64$luvio_engine_Snapshot, UnfulfilledSnapshot as $64$luvio_engine_UnfulfilledSnapshot, AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata } from '@luvio/engine';
2
+ export declare const ObjectPrototypeHasOwnProperty: (v: PropertyKey) => boolean;
3
+ declare const ObjectKeys: {
4
+ (o: object): string[];
5
+ (o: {}): string[];
6
+ }, ObjectCreate: {
7
+ (o: object | null): any;
8
+ (o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any;
9
+ };
10
+ export { ObjectCreate, ObjectKeys };
11
+ export declare const ArrayIsArray: (arg: any) => arg is any[];
12
+ export declare const ArrayPrototypePush: (...items: any[]) => number;
13
+ export interface AdapterValidationConfig {
14
+ displayName: string;
15
+ parameters: {
16
+ required: string[];
17
+ optional: string[];
18
+ unsupported?: string[];
19
+ };
20
+ }
21
+ /**
22
+ * Validates an adapter config is well-formed.
23
+ * @param config The config to validate.
24
+ * @param adapter The adapter validation configuration.
25
+ * @param oneOf The keys the config must contain at least one of.
26
+ * @throws A TypeError if config doesn't satisfy the adapter's config validation.
27
+ */
28
+ export declare function validateConfig<T>(config: Untrusted<T>, adapter: AdapterValidationConfig, oneOf?: string[]): void;
29
+ export declare function untrustedIsObject<Base>(untrusted: unknown): untrusted is Untrusted<Base>;
30
+ export type UncoercedConfiguration<Base, Options extends {
31
+ [key in keyof Base]?: any;
32
+ }> = {
33
+ [Key in keyof Base]?: Base[Key] | Options[Key];
34
+ };
35
+ export type Untrusted<Base> = Partial<Base>;
36
+ export declare function areRequiredParametersPresent<T>(config: any, configPropertyNames: AdapterValidationConfig): config is T;
37
+ export declare function refreshable<C, D, R>(adapter: $64$luvio_engine_Adapter<C, D>, resolve: (config: unknown) => Promise<$64$luvio_engine_Snapshot<R>>): $64$luvio_engine_Adapter<C, D>;
38
+ export declare const SNAPSHOT_STATE_FULFILLED = "Fulfilled";
39
+ export declare const SNAPSHOT_STATE_UNFULFILLED = "Unfulfilled";
40
+ export declare const snapshotRefreshOptions: {
41
+ overrides: {
42
+ headers: {
43
+ 'Cache-Control': string;
44
+ };
45
+ };
46
+ };
47
+ /**
48
+ * A deterministic JSON stringify implementation. Heavily adapted from https://github.com/epoberezkin/fast-json-stable-stringify.
49
+ * This is needed because insertion order for JSON.stringify(object) affects output:
50
+ * JSON.stringify({a: 1, b: 2})
51
+ * "{"a":1,"b":2}"
52
+ * JSON.stringify({b: 2, a: 1})
53
+ * "{"b":2,"a":1}"
54
+ * @param data Data to be JSON-stringified.
55
+ * @returns JSON.stringified value with consistent ordering of keys.
56
+ */
57
+ export declare function stableJSONStringify(node: any): string | undefined;
58
+ export declare function getFetchResponseStatusText(status: number): string;
59
+ export declare function isUnfulfilledSnapshot<T, U>(snapshot: $64$luvio_engine_Snapshot<T, U>): snapshot is $64$luvio_engine_UnfulfilledSnapshot<T, U>;
60
+ export declare function generateParamConfigMetadata(name: string, required: boolean, resourceType: $64$luvio_engine_AdapterConfigMetadata['resourceType'], typeCheckShape: $64$luvio_engine_AdapterConfigMetadata['typeCheckShape'], isArrayShape?: boolean, coerceFn?: (v: unknown) => unknown): $64$luvio_engine_AdapterConfigMetadata;
61
+ export declare function buildAdapterValidationConfig(displayName: string, paramsMeta: $64$luvio_engine_AdapterConfigMetadata[]): AdapterValidationConfig;
62
+ export declare const keyPrefix = "einstein-ai-gateway";
@@ -0,0 +1,37 @@
1
+ import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
2
+ import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
3
+ import { Localization as types_Localization_Localization } from '../types/Localization';
4
+ import { ResourceRequestConfig as resources_postAiGptV1Embeddings_ResourceRequestConfig } from '../resources/postAiGptV1Embeddings';
5
+ import { EmbeddingResponse as types_EmbeddingResponse_EmbeddingResponse } from '../types/EmbeddingResponse';
6
+ export declare const adapterName = "getEmbeddings";
7
+ export declare const getEmbeddings_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
8
+ export declare const getEmbeddings_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
9
+ export interface GetEmbeddingsConfig {
10
+ xClientFeatureId: string;
11
+ xSfdcAppContext?: string;
12
+ xLLMProvider?: string;
13
+ input: Array<string>;
14
+ model?: string;
15
+ enable_pii_masking?: boolean;
16
+ localization?: types_Localization_Localization;
17
+ parameters?: {
18
+ [key: string]: unknown;
19
+ };
20
+ }
21
+ export declare const createResourceParams: (config: GetEmbeddingsConfig) => resources_postAiGptV1Embeddings_ResourceRequestConfig;
22
+ export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetEmbeddingsConfig): string;
23
+ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetEmbeddingsConfig): $64$luvio_engine_NormalizedKeyMetadata;
24
+ export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetEmbeddingsConfig>): adapter$45$utils_Untrusted<GetEmbeddingsConfig>;
25
+ export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetEmbeddingsConfig | null;
26
+ export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetEmbeddingsConfig): $64$luvio_engine_Fragment;
27
+ export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetEmbeddingsConfig): $64$luvio_engine_Snapshot<types_EmbeddingResponse_EmbeddingResponse, any>;
28
+ export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetEmbeddingsConfig, resourceParams: resources_postAiGptV1Embeddings_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_EmbeddingResponse_EmbeddingResponse>): Promise<import("@luvio/engine").FulfilledSnapshot<types_EmbeddingResponse_EmbeddingResponse, {}> | import("@luvio/engine").StaleSnapshot<types_EmbeddingResponse_EmbeddingResponse, {}> | import("@luvio/engine").PendingSnapshot<types_EmbeddingResponse_EmbeddingResponse, any>>;
29
+ export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetEmbeddingsConfig, resourceParams: resources_postAiGptV1Embeddings_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
30
+ export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetEmbeddingsConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_EmbeddingResponse_EmbeddingResponse, any>>;
31
+ export type BuildSnapshotContext = {
32
+ luvio: $64$luvio_engine_Luvio;
33
+ config: GetEmbeddingsConfig;
34
+ };
35
+ export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_EmbeddingResponse_EmbeddingResponse, any>>;
36
+ export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_EmbeddingResponse_EmbeddingResponse>): $64$luvio_engine_Snapshot<types_EmbeddingResponse_EmbeddingResponse, any>;
37
+ export declare const getEmbeddingsAdapterFactory: $64$luvio_engine_AdapterFactory<GetEmbeddingsConfig, types_EmbeddingResponse_EmbeddingResponse>;
@@ -0,0 +1,32 @@
1
+ import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
2
+ import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
3
+ import { ResourceRequestConfig as resources_postAiGptV1Generations_ResourceRequestConfig } from '../resources/postAiGptV1Generations';
4
+ import { GenerationResponse as types_GenerationResponse_GenerationResponse } from '../types/GenerationResponse';
5
+ export declare const adapterName = "getGenerations";
6
+ export declare const getGenerations_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
7
+ export declare const getGenerations_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
8
+ export interface GetGenerationsConfig {
9
+ xClientFeatureId: string;
10
+ xSfdcAppContext?: string;
11
+ xLLMProvider?: string;
12
+ prompt: string;
13
+ num_generations?: number;
14
+ max_tokens?: number;
15
+ enable_pii_masking?: boolean;
16
+ temperature?: number;
17
+ stop_sequences?: Array<string>;
18
+ frequency_penalty?: number;
19
+ presence_penalty?: number;
20
+ model?: string;
21
+ parameters?: {
22
+ [key: string]: unknown;
23
+ };
24
+ tags?: {
25
+ [key: string]: unknown;
26
+ };
27
+ }
28
+ export declare const createResourceParams: (config: GetGenerationsConfig) => resources_postAiGptV1Generations_ResourceRequestConfig;
29
+ export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetGenerationsConfig>): adapter$45$utils_Untrusted<GetGenerationsConfig>;
30
+ export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetGenerationsConfig | null;
31
+ export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetGenerationsConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_GenerationResponse_GenerationResponse, {}> | import("@luvio/engine").StaleSnapshot<types_GenerationResponse_GenerationResponse, {}> | import("@luvio/engine").PendingSnapshot<types_GenerationResponse_GenerationResponse, any>>;
32
+ export declare const getGenerationsAdapterFactory: $64$luvio_engine_AdapterFactory<GetGenerationsConfig, types_GenerationResponse_GenerationResponse>;
@@ -0,0 +1,27 @@
1
+ import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
2
+ import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
3
+ import { ResourceRequestConfig as resources_postAiGptV1Feedback_ResourceRequestConfig } from '../resources/postAiGptV1Feedback';
4
+ import { FeedbackResponseRepresentation as types_FeedbackResponseRepresentation_FeedbackResponseRepresentation } from '../types/FeedbackResponseRepresentation';
5
+ export declare const adapterName = "registerFeedback";
6
+ export declare const registerFeedback_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
7
+ export declare const registerFeedback_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
8
+ export interface RegisterFeedbackConfig {
9
+ xClientFeatureId: string;
10
+ xSfdcAppContext?: string;
11
+ id: string;
12
+ generation_id?: string;
13
+ turn_id?: string;
14
+ app_generation_id?: string;
15
+ app_generation?: string;
16
+ feedback?: string | null;
17
+ feedback_text?: string;
18
+ source?: string;
19
+ app_feedback?: {
20
+ [key: string]: unknown;
21
+ };
22
+ }
23
+ export declare const createResourceParams: (config: RegisterFeedbackConfig) => resources_postAiGptV1Feedback_ResourceRequestConfig;
24
+ export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<RegisterFeedbackConfig>): adapter$45$utils_Untrusted<RegisterFeedbackConfig>;
25
+ export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): RegisterFeedbackConfig | null;
26
+ export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: RegisterFeedbackConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_FeedbackResponseRepresentation_FeedbackResponseRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_FeedbackResponseRepresentation_FeedbackResponseRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_FeedbackResponseRepresentation_FeedbackResponseRepresentation, any>>;
27
+ export declare const registerFeedbackAdapterFactory: $64$luvio_engine_AdapterFactory<RegisterFeedbackConfig, types_FeedbackResponseRepresentation_FeedbackResponseRepresentation>;
@@ -0,0 +1,3 @@
1
+ export { getGenerationsAdapterFactory } from '../adapters/getGenerations';
2
+ export { registerFeedbackAdapterFactory } from '../adapters/registerFeedback';
3
+ export { getEmbeddingsAdapterFactory } from '../adapters/getEmbeddings';
@@ -0,0 +1,5 @@
1
+ declare let getEmbeddings: any;
2
+ declare let getGenerations: any;
3
+ declare let registerFeedback: any;
4
+ declare let getEmbeddings_imperative: any;
5
+ export { getEmbeddings, getGenerations, registerFeedback, getEmbeddings_imperative };
@@ -0,0 +1,27 @@
1
+ import { Localization as types_Localization_Localization } from '../types/Localization';
2
+ import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
3
+ import { EmbeddingResponse as types_EmbeddingResponse_EmbeddingResponse } from '../types/EmbeddingResponse';
4
+ export interface ResourceRequestConfig {
5
+ body: {
6
+ input: Array<string>;
7
+ model?: string;
8
+ enable_pii_masking?: boolean;
9
+ localization?: types_Localization_Localization;
10
+ parameters?: {
11
+ [key: string]: unknown;
12
+ };
13
+ };
14
+ headers: {
15
+ xClientFeatureId: string;
16
+ xSfdcAppContext?: string;
17
+ xLLMProvider?: string;
18
+ };
19
+ }
20
+ export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
21
+ export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
22
+ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
23
+ export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_EmbeddingResponse_EmbeddingResponse): void;
24
+ export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_EmbeddingResponse_EmbeddingResponse>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_EmbeddingResponse_EmbeddingResponse>): $64$luvio_engine_FulfilledSnapshot<types_EmbeddingResponse_EmbeddingResponse, {}> | $64$luvio_engine_StaleSnapshot<types_EmbeddingResponse_EmbeddingResponse, {}> | $64$luvio_engine_PendingSnapshot<types_EmbeddingResponse_EmbeddingResponse, any>;
25
+ export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_EmbeddingResponse_EmbeddingResponse>): $64$luvio_engine_ErrorSnapshot;
26
+ export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
27
+ export default createResourceRequest;
@@ -0,0 +1,26 @@
1
+ import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, FetchResponse as $64$luvio_engine_FetchResponse, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
2
+ import { FeedbackResponseRepresentation as types_FeedbackResponseRepresentation_FeedbackResponseRepresentation } from '../types/FeedbackResponseRepresentation';
3
+ export interface ResourceRequestConfig {
4
+ body: {
5
+ id: string;
6
+ generation_id?: string;
7
+ turn_id?: string;
8
+ app_generation_id?: string;
9
+ app_generation?: string;
10
+ feedback?: string | null;
11
+ feedback_text?: string;
12
+ source?: string;
13
+ app_feedback?: {
14
+ [key: string]: unknown;
15
+ };
16
+ };
17
+ headers: {
18
+ xClientFeatureId: string;
19
+ xSfdcAppContext?: string;
20
+ };
21
+ }
22
+ export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
23
+ export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_FeedbackResponseRepresentation_FeedbackResponseRepresentation): void;
24
+ export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_FeedbackResponseRepresentation_FeedbackResponseRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_FeedbackResponseRepresentation_FeedbackResponseRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_FeedbackResponseRepresentation_FeedbackResponseRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_FeedbackResponseRepresentation_FeedbackResponseRepresentation, any>;
25
+ export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
26
+ export default createResourceRequest;
@@ -0,0 +1,31 @@
1
+ import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, FetchResponse as $64$luvio_engine_FetchResponse, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
2
+ import { GenerationResponse as types_GenerationResponse_GenerationResponse } from '../types/GenerationResponse';
3
+ export interface ResourceRequestConfig {
4
+ body: {
5
+ prompt: string;
6
+ num_generations?: number;
7
+ max_tokens?: number;
8
+ enable_pii_masking?: boolean;
9
+ temperature?: number;
10
+ stop_sequences?: Array<string>;
11
+ frequency_penalty?: number;
12
+ presence_penalty?: number;
13
+ model?: string;
14
+ parameters?: {
15
+ [key: string]: unknown;
16
+ };
17
+ tags?: {
18
+ [key: string]: unknown;
19
+ };
20
+ };
21
+ headers: {
22
+ xClientFeatureId: string;
23
+ xSfdcAppContext?: string;
24
+ xLLMProvider?: string;
25
+ };
26
+ }
27
+ export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
28
+ export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_GenerationResponse_GenerationResponse): void;
29
+ export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_GenerationResponse_GenerationResponse>): $64$luvio_engine_FulfilledSnapshot<types_GenerationResponse_GenerationResponse, {}> | $64$luvio_engine_StaleSnapshot<types_GenerationResponse_GenerationResponse, {}> | $64$luvio_engine_PendingSnapshot<types_GenerationResponse_GenerationResponse, any>;
30
+ export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
31
+ export default createResourceRequest;
@@ -0,0 +1,46 @@
1
+ import { ContentQualityRepresentation as ContentQualityRepresentation_ContentQualityRepresentation } from './ContentQualityRepresentation';
2
+ import { SafetyScoreRepresentation as SafetyScoreRepresentation_SafetyScoreRepresentation } from './SafetyScoreRepresentation';
3
+ import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
4
+ export declare const VERSION = "1e9c085ad08e9693cfb05fefdf1c912f";
5
+ export declare function validate(obj: any, path?: string): TypeError | null;
6
+ export declare const RepresentationType: string;
7
+ export declare function normalize(input: ChatMessage, existing: ChatMessageNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ChatMessageNormalized;
8
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
9
+ export declare function equals(existing: ChatMessageNormalized, incoming: ChatMessageNormalized): boolean;
10
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
11
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ChatMessage, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
12
+ /**
13
+ * Representation of a message in a conversation.
14
+ *
15
+ * Keys:
16
+ * (none)
17
+ */
18
+ export interface ChatMessageNormalized {
19
+ /** The content of the message. */
20
+ content: string;
21
+ generation_content_quality?: ContentQualityRepresentation_ContentQualityRepresentation;
22
+ generation_safety_score?: SafetyScoreRepresentation_SafetyScoreRepresentation;
23
+ /** Generation ID. This value is required to register feedback. */
24
+ id?: string;
25
+ /** Any provider-specific attributes included as part of this object. */
26
+ parameters?: {};
27
+ /** Persona that sent the message. */
28
+ role: string;
29
+ /** Timestamp when the message was sent. */
30
+ timestamp?: number;
31
+ }
32
+ /**
33
+ * Representation of a message in a conversation.
34
+ *
35
+ * Keys:
36
+ * (none)
37
+ */
38
+ export interface ChatMessage {
39
+ content: string;
40
+ generation_content_quality?: ContentQualityRepresentation_ContentQualityRepresentation;
41
+ generation_safety_score?: SafetyScoreRepresentation_SafetyScoreRepresentation;
42
+ id?: string;
43
+ parameters?: {};
44
+ role: string;
45
+ timestamp?: number;
46
+ }
@@ -0,0 +1,28 @@
1
+ import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
2
+ export declare const VERSION = "1536a256eead5e0f6ed4af90b4a4e6f0";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: ContentQualityRepresentation, existing: ContentQualityRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ContentQualityRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: ContentQualityRepresentationNormalized, incoming: ContentQualityRepresentationNormalized): boolean;
8
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
9
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ContentQualityRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * Data generated by the Trust Layer for content safety and quality (e.g., scores, explanations)
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface ContentQualityRepresentationNormalized {
17
+ /** True if the overall safety score exceeds threshold, false otherwise. Null value indicates safety score call failed */
18
+ is_toxicity_detected?: boolean;
19
+ }
20
+ /**
21
+ * Data generated by the Trust Layer for content safety and quality (e.g., scores, explanations)
22
+ *
23
+ * Keys:
24
+ * (none)
25
+ */
26
+ export interface ContentQualityRepresentation {
27
+ is_toxicity_detected?: boolean;
28
+ }
@@ -0,0 +1,31 @@
1
+ import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
2
+ export declare const VERSION = "46511fb00c7b27e721876696d39287a1";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: ConversationalMemorySettings, existing: ConversationalMemorySettingsNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ConversationalMemorySettingsNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: ConversationalMemorySettingsNormalized, incoming: ConversationalMemorySettingsNormalized): boolean;
8
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
9
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ConversationalMemorySettings, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * Settings that can be configured for conversational memory
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface ConversationalMemorySettingsNormalized {
17
+ /** Maximum number of turns to be included in the context provided to the LLM. To be used with last_n_turns strategy. */
18
+ max_turns?: number;
19
+ /** The strategy to use when providing conversational context to the LLM. */
20
+ strategy?: string;
21
+ }
22
+ /**
23
+ * Settings that can be configured for conversational memory
24
+ *
25
+ * Keys:
26
+ * (none)
27
+ */
28
+ export interface ConversationalMemorySettings {
29
+ max_turns?: number;
30
+ strategy?: string;
31
+ }
@@ -0,0 +1,53 @@
1
+ import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
2
+ export declare const VERSION = "d891809c33ff046b1a16c0b83dc83924";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: EmbeddingErrorRepresentation, existing: EmbeddingErrorRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): EmbeddingErrorRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: EmbeddingErrorRepresentationNormalized, incoming: EmbeddingErrorRepresentationNormalized): boolean;
8
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
9
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: EmbeddingErrorRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ *
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface EmbeddingErrorRepresentationNormalized {
17
+ /** Error code to map the error message */
18
+ error_code: string;
19
+ /** Exception error message. */
20
+ message: string;
21
+ /** The messageCode field is a specification of the error and uniquely identifies an error message. */
22
+ message_code: string;
23
+ /** The parameters field is a collection of name-value pairs where each item in the collection represents a parameter leveraged in the error message. */
24
+ parameters?: Array<{
25
+ name?: string;
26
+ value?: string;
27
+ }>;
28
+ /** The targets field is a collection of references that represent the specific occurrence of the problem. */
29
+ target?: Array<{
30
+ reference?: string;
31
+ /** FIELD | QUERY_PARAMETER | HTTP_HEADER */
32
+ type?: string;
33
+ }>;
34
+ }
35
+ /**
36
+ *
37
+ *
38
+ * Keys:
39
+ * (none)
40
+ */
41
+ export interface EmbeddingErrorRepresentation {
42
+ error_code: string;
43
+ message: string;
44
+ message_code: string;
45
+ parameters?: Array<{
46
+ name?: string;
47
+ value?: string;
48
+ }>;
49
+ target?: Array<{
50
+ reference?: string;
51
+ type?: string;
52
+ }>;
53
+ }
@@ -0,0 +1,44 @@
1
+ import { Localization as Localization_Localization } from './Localization';
2
+ import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
3
+ export declare const VERSION = "5f7a356db0f96fc5c23a77c522654ba8";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ export declare function normalize(input: EmbeddingRequest, existing: EmbeddingRequestNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): EmbeddingRequestNormalized;
7
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
8
+ export declare function equals(existing: EmbeddingRequestNormalized, incoming: EmbeddingRequestNormalized): boolean;
9
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
10
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: EmbeddingRequest, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
11
+ /**
12
+ *
13
+ *
14
+ * Keys:
15
+ * (none)
16
+ */
17
+ export interface EmbeddingRequestNormalized {
18
+ /** Indicates whether to mask personally identifiable information (PII) in the prompt. Defaults to `false`. */
19
+ enable_pii_masking?: boolean;
20
+ /** Input text used for generating an embedding. Data is encoded as an array of strings. */
21
+ input: Array<string>;
22
+ localization?: Localization_Localization;
23
+ /** The model to be used for generating the embedding. Defaults to a provider-specific model. */
24
+ model?: string;
25
+ /** Dictionary of any other parameters that are required by the specified provider. Values are passed as is to the provider so that the request can include parameters that are unique to a provider. */
26
+ parameters?: {
27
+ [key: string]: unknown;
28
+ };
29
+ }
30
+ /**
31
+ *
32
+ *
33
+ * Keys:
34
+ * (none)
35
+ */
36
+ export interface EmbeddingRequest {
37
+ enable_pii_masking?: boolean;
38
+ input: Array<string>;
39
+ localization?: Localization_Localization;
40
+ model?: string;
41
+ parameters?: {
42
+ [key: string]: unknown;
43
+ };
44
+ }
@@ -0,0 +1,37 @@
1
+ import { Embeddings as Embeddings_Embeddings } from './Embeddings';
2
+ import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
3
+ export declare const TTL = 100;
4
+ export declare const VERSION = "93a316d52ad6c5e482831b43f15666b9";
5
+ export declare function validate(obj: any, path?: string): TypeError | null;
6
+ export declare const RepresentationType: string;
7
+ export declare function normalize(input: EmbeddingResponse, existing: EmbeddingResponseNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): EmbeddingResponseNormalized;
8
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
9
+ export declare function equals(existing: EmbeddingResponseNormalized, incoming: EmbeddingResponseNormalized): boolean;
10
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
11
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: EmbeddingResponse, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
12
+ /**
13
+ *
14
+ *
15
+ * Keys:
16
+ * (none)
17
+ */
18
+ export interface EmbeddingResponseNormalized {
19
+ /** Array of `Embeddings` in the response. */
20
+ embeddings?: Array<Embeddings_Embeddings>;
21
+ /** Any provider-specific attributes are included as part of this object. */
22
+ parameters?: {
23
+ [key: string]: unknown;
24
+ };
25
+ }
26
+ /**
27
+ *
28
+ *
29
+ * Keys:
30
+ * (none)
31
+ */
32
+ export interface EmbeddingResponse {
33
+ embeddings?: Array<Embeddings_Embeddings>;
34
+ parameters?: {
35
+ [key: string]: unknown;
36
+ };
37
+ }
@@ -0,0 +1,31 @@
1
+ import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
2
+ export declare const VERSION = "9e6bda93c37ac7a0994be9a1413932c6";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: Embeddings, existing: EmbeddingsNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): EmbeddingsNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: EmbeddingsNormalized, incoming: EmbeddingsNormalized): boolean;
8
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
9
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: Embeddings, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * Embedding of the text.
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface EmbeddingsNormalized {
17
+ /** Embedding of the text. Data is specified as an array of numbers. */
18
+ embedding?: Array<number>;
19
+ /** Index of the input text to which the embedding belongs. */
20
+ index?: number;
21
+ }
22
+ /**
23
+ * Embedding of the text.
24
+ *
25
+ * Keys:
26
+ * (none)
27
+ */
28
+ export interface Embeddings {
29
+ embedding?: Array<number>;
30
+ index?: number;
31
+ }
@@ -0,0 +1,28 @@
1
+ import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
2
+ export declare const VERSION = "1919ed177b4c2a844b3e40c005132835";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: Error, existing: ErrorNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ErrorNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: ErrorNormalized, incoming: ErrorNormalized): boolean;
8
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
9
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: Error, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ *
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface ErrorNormalized {
17
+ /** Exception error message. */
18
+ message: string;
19
+ }
20
+ /**
21
+ *
22
+ *
23
+ * Keys:
24
+ * (none)
25
+ */
26
+ export interface Error {
27
+ message: string;
28
+ }
@@ -0,0 +1,28 @@
1
+ import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
2
+ export declare const VERSION = "94a6a56cde831f2a2516f43ffee60aad";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: FeedbackErrorRepresentation, existing: FeedbackErrorRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): FeedbackErrorRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: FeedbackErrorRepresentationNormalized, incoming: FeedbackErrorRepresentationNormalized): boolean;
8
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
9
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: FeedbackErrorRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * Feedback Error Representation
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface FeedbackErrorRepresentationNormalized {
17
+ /** Exception error message */
18
+ message: string;
19
+ }
20
+ /**
21
+ * Feedback Error Representation
22
+ *
23
+ * Keys:
24
+ * (none)
25
+ */
26
+ export interface FeedbackErrorRepresentation {
27
+ message: string;
28
+ }