index.d.cts 582 B

123456789
  1. import type { Field } from '@aws-sdk/client-rds-data';
  2. import { TypeHint } from '@aws-sdk/client-rds-data';
  3. import type { QueryTypingsValue } from "../../sql/sql.cjs";
  4. export declare function getValueFromDataApi(field: Field): string | number | boolean | string[] | number[] | Uint8Array | boolean[] | import("@aws-sdk/client-rds-data").ArrayValue[] | null;
  5. export declare function typingsToAwsTypeHint(typings?: QueryTypingsValue): TypeHint | undefined;
  6. export declare function toValueParam(value: any, typings?: QueryTypingsValue): {
  7. value: Field;
  8. typeHint?: TypeHint;
  9. };