import { CancellablePromise } from "@apple/cktool.core"; import type { CancelledError, FetchError, ReactiveStreamError, ValidationError } from "@apple/cktool.core"; import { AcceptRecordParams, CreateAssetUploadUrlParams, CreateRecordParams, CreateZoneParams, DeleteRecordParams, DeleteRecordsByQueryParams, DeleteZoneParams, ExportSchemaParams, GetRecordParams, GetSessionUserParams, GetZoneParams, GetZonesParams, ImportSchemaParams, LookupRecordsParams, QueryRecordChangesParams, QueryRecordsParams, ResetConfigToProductionParams, ResetToProductionParams, ResolveRecordParams, UpdateRecordParams, ValidateSchemaParams, acceptRecordOp, createAssetUploadUrlOp, createRecordOp, createZoneOp, deleteRecordOp, deleteRecordsByQueryOp, deleteZoneOp, exportSchemaOp, getRecordOp, getSessionUserOp, getZoneOp, getZonesOp, importSchemaOp, lookupRecordsOp, queryRecordChangesOp, queryRecordsOp, resetConfigToProductionOp, resetToProductionOp, resolveRecordOp, updateRecordOp, validateSchemaOp } from "./descriptors"; import type { AcceptRecordOpConsts, AcceptRecordOpOptions, CreateAssetUploadUrlOpConsts, CreateAssetUploadUrlOpOptions, CreateRecordOpConsts, CreateRecordOpOptions, CreateZoneOpConsts, CreateZoneOpOptions, DeleteRecordOpConsts, DeleteRecordOpOptions, DeleteRecordsByQueryOpConsts, DeleteRecordsByQueryOpOptions, DeleteZoneOpConsts, DeleteZoneOpOptions, ExportSchemaOpConsts, ExportSchemaOpOptions, GetRecordOpConsts, GetRecordOpOptions, GetSessionUserOpConsts, GetSessionUserOpOptions, GetZoneOpConsts, GetZoneOpOptions, GetZonesOpConsts, GetZonesOpOptions, ImportSchemaOpConsts, ImportSchemaOpOptions, LookupRecordsOpConsts, LookupRecordsOpOptions, QueryRecordChangesOpConsts, QueryRecordChangesOpOptions, QueryRecordsOpConsts, QueryRecordsOpOptions, ResetConfigToProductionOpConsts, ResetConfigToProductionOpOptions, ResetToProductionOpConsts, ResetToProductionOpOptions, ResolveRecordOpConsts, ResolveRecordOpOptions, UpdateRecordOpConsts, UpdateRecordOpOptions, ValidateSchemaOpConsts, ValidateSchemaOpOptions } from "./descriptors"; export declare type AcceptRecordPOptions = AcceptRecordOpOptions; /** * Accepts a share on behalf of the current user. * * If successful, the result contains a `CKDBResolveRecordResponse` object that contains the resolved record. The recipient must accept the shared record before adding it to their shared database. A shared record's participants are listed in the `participants` field on `CKDBRecord`. You can update this array using the `updateRecord` operation. * * API operation: acceptRecord * API version: 1.3.2 * * @param options.configuration - The configuration object. * @param options.security - An optional dictionary of * security scheme names to the API key or cookie * used for authentication * with the ACP server. If not provided and this operation * is called in a browser, cookie authentication will be * used. * * @returns * A function that * takes {@link AcceptRecordParams}, * and returns a promise * that yields expected * success responses when resolved. * See {@link acceptRecordOp.responseDictionary} for * expected responses. Responses in the 2xx range will * be considered success responses. * Other responses will cause the promise to reject. */ export declare const acceptRecordP: { (options: AcceptRecordOpOptions): (args: AcceptRecordParams, optionsOverride?: AcceptRecordPOptions) => CancellablePromise; readonly descriptor: typeof acceptRecordOp; }; export declare type CreateAssetUploadUrlPOptions = CreateAssetUploadUrlOpOptions; /** * Creates a new URL for uploading assets. * * If successful, the result contains the URL to use when uploading an asset, which is valid for 15 minutes. Use this URL to upload your asset and provide the asset fields returned by the upload when creating or updating a record. The following fields are returned if the asset upload is successful: `size`, `receipt`, `fileChecksum`, `wrappingKey`, `referenceChecksum`. You can use these values when creating a `CKDBRecordFieldAssetValue` object for your asset field type. * * API operation: createAssetUploadUrl * API version: 1.3.2 * * @param options.configuration - The configuration object. * @param options.security - An optional dictionary of * security scheme names to the API key or cookie * used for authentication * with the ACP server. If not provided and this operation * is called in a browser, cookie authentication will be * used. * * @returns * A function that * takes {@link CreateAssetUploadUrlParams}, * and returns a promise * that yields expected * success responses when resolved. * See {@link createAssetUploadUrlOp.responseDictionary} for * expected responses. Responses in the 2xx range will * be considered success responses. * Other responses will cause the promise to reject. */ export declare const createAssetUploadUrlP: { (options: CreateAssetUploadUrlOpOptions): (args: CreateAssetUploadUrlParams, optionsOverride?: CreateAssetUploadUrlPOptions) => CancellablePromise; readonly descriptor: typeof createAssetUploadUrlOp; }; export declare type CreateRecordPOptions = CreateRecordOpOptions; /** * Creates a new record. * * If successful, the result contains a `CKDBRecordResponse` object with the created record. When creating a new record, if you omit the `recordName` property from `body`, the server assigns the record a UUID. When `assetType` fields exist in your record type, you must upload the assets prior to creating a record using the `createAssetUploadUrl` operation. For shared records, set the `createShortGuid` property in `body` to `true` in order to create a globally unique identifier for this record that the server uses when the share participant accepts a shared record. * * API operation: createRecord * API version: 1.3.2 * * @param options.configuration - The configuration object. * @param options.security - An optional dictionary of * security scheme names to the API key or cookie * used for authentication * with the ACP server. If not provided and this operation * is called in a browser, cookie authentication will be * used. * * @returns * A function that * takes {@link CreateRecordParams}, * and returns a promise * that yields expected * success responses when resolved. * See {@link createRecordOp.responseDictionary} for * expected responses. Responses in the 2xx range will * be considered success responses. * Other responses will cause the promise to reject. */ export declare const createRecordP: { (options: CreateRecordOpOptions): (args: CreateRecordParams, optionsOverride?: CreateRecordPOptions) => CancellablePromise; readonly descriptor: typeof createRecordOp; }; export declare type CreateZonePOptions = CreateZoneOpOptions; /** * Creates a new zone. * * If successful, the result contains a `CKDBZoneResponse` object with the created zone. * * API operation: createZone * API version: 1.3.2 * * @param options.configuration - The configuration object. * @param options.security - An optional dictionary of * security scheme names to the API key or cookie * used for authentication * with the ACP server. If not provided and this operation * is called in a browser, cookie authentication will be * used. * * @returns * A function that * takes {@link CreateZoneParams}, * and returns a promise * that yields expected * success responses when resolved. * See {@link createZoneOp.responseDictionary} for * expected responses. Responses in the 2xx range will * be considered success responses. * Other responses will cause the promise to reject. */ export declare const createZoneP: { (options: CreateZoneOpOptions): (args: CreateZoneParams, optionsOverride?: CreateZonePOptions) => CancellablePromise; readonly descriptor: typeof createZoneOp; }; export declare type DeleteRecordPOptions = DeleteRecordOpOptions; /** * Deletes a single record. * * If the operation completes successfully, the server returns a success response. * * API operation: deleteRecord * API version: 1.3.2 * * @param options.configuration - The configuration object. * @param options.security - An optional dictionary of * security scheme names to the API key or cookie * used for authentication * with the ACP server. If not provided and this operation * is called in a browser, cookie authentication will be * used. * * @returns * A function that * takes {@link DeleteRecordParams}, * and returns a promise * that yields expected * success responses when resolved. * See {@link deleteRecordOp.responseDictionary} for * expected responses. Responses in the 2xx range will * be considered success responses. * Other responses will cause the promise to reject. */ export declare const deleteRecordP: { (options: DeleteRecordOpOptions): (args: DeleteRecordParams, optionsOverride?: DeleteRecordPOptions) => CancellablePromise; readonly descriptor: typeof deleteRecordOp; }; export declare type DeleteRecordsByQueryPOptions = DeleteRecordsByQueryOpOptions; /** * Deletes records matching the provided query. * * This operation allows you to delete multiple records of a record type that match specific filters. If the operation completes, the response contains a `CKDBPagedBatchDeleteResponse` object that details the result of the batch delete operation. You can delete up to 200 records in a single operation. If more records match your filters, the response also contains a continuation token that you can use to delete the next set of matching records. * * API operation: deleteRecordsByQuery * API version: 1.3.2 * * @param options.configuration - The configuration object. * @param options.security - An optional dictionary of * security scheme names to the API key or cookie * used for authentication * with the ACP server. If not provided and this operation * is called in a browser, cookie authentication will be * used. * * @returns * A function that * takes {@link DeleteRecordsByQueryParams}, * and returns a promise * that yields expected * success responses when resolved. * See {@link deleteRecordsByQueryOp.responseDictionary} for * expected responses. Responses in the 2xx range will * be considered success responses. * Other responses will cause the promise to reject. */ export declare const deleteRecordsByQueryP: { (options: DeleteRecordsByQueryOpOptions): (args: DeleteRecordsByQueryParams, optionsOverride?: DeleteRecordsByQueryPOptions) => CancellablePromise; readonly descriptor: typeof deleteRecordsByQueryOp; }; export declare type DeleteZonePOptions = DeleteZoneOpOptions; /** * Deletes a zone. * * If the operation completes successfully, the server returns a success response. * * API operation: deleteZone * API version: 1.3.2 * * @param options.configuration - The configuration object. * @param options.security - An optional dictionary of * security scheme names to the API key or cookie * used for authentication * with the ACP server. If not provided and this operation * is called in a browser, cookie authentication will be * used. * * @returns * A function that * takes {@link DeleteZoneParams}, * and returns a promise * that yields expected * success responses when resolved. * See {@link deleteZoneOp.responseDictionary} for * expected responses. Responses in the 2xx range will * be considered success responses. * Other responses will cause the promise to reject. */ export declare const deleteZoneP: { (options: DeleteZoneOpOptions): (args: DeleteZoneParams, optionsOverride?: DeleteZonePOptions) => CancellablePromise; readonly descriptor: typeof deleteZoneOp; }; export declare type ExportSchemaPOptions = ExportSchemaOpOptions; /** * Downloads the container’s schema. * * Downloads a schema file for the environment specified. If the operation completes successfully, the returned response contains the textual representation of the container’s schema for the given environment. The text obtained this way is in CloudKit Schema Language. To learn more about CloudKit Schema Language, see `https://developer.apple.com/documentation/cloudkit/integrating_a_text-based_schema_into_your_workflow`. Related: `importSchema`, `validateSchema`. * * API operation: exportSchema * API version: 1.3.2 * * @param options.configuration - The configuration object. * @param options.security - An optional dictionary of * security scheme names to the API key or cookie * used for authentication * with the ACP server. If not provided and this operation * is called in a browser, cookie authentication will be * used. * * @returns * A function that * takes {@link ExportSchemaParams}, * and returns a promise * that yields expected * success responses when resolved. * See {@link exportSchemaOp.responseDictionary} for * expected responses. Responses in the 2xx range will * be considered success responses. * Other responses will cause the promise to reject. */ export declare const exportSchemaP: { (options: ExportSchemaOpOptions): (args: ExportSchemaParams, optionsOverride?: ExportSchemaPOptions) => CancellablePromise; readonly descriptor: typeof exportSchemaOp; }; export declare type GetRecordPOptions = GetRecordOpOptions; /** * Returns a record's details. * * If successful, the result contains a `CKDBRecordResponse` object with the requested record. If you provide `requestedFields`, the server only returns fields specified in that array. If it’s set to an empty array, the server returns record metadata without the field values. If you omit `requestedFields`, the server returns all record fields. * * API operation: getRecord * API version: 1.3.2 * * @param options.configuration - The configuration object. * @param options.security - An optional dictionary of * security scheme names to the API key or cookie * used for authentication * with the ACP server. If not provided and this operation * is called in a browser, cookie authentication will be * used. * * @returns * A function that * takes {@link GetRecordParams}, * and returns a promise * that yields expected * success responses when resolved. * See {@link getRecordOp.responseDictionary} for * expected responses. Responses in the 2xx range will * be considered success responses. * Other responses will cause the promise to reject. */ export declare const getRecordP: { (options: GetRecordOpOptions): (args: GetRecordParams, optionsOverride?: GetRecordPOptions) => CancellablePromise; readonly descriptor: typeof getRecordOp; }; export declare type GetSessionUserPOptions = GetSessionUserOpOptions; /** * Returns details for the user in current session. * * If successful, the returned response contains a `CKDBSessionUserResponse` object with the current user information. If the user hasn't authenticated yet or if their authentication has expired, the server returns an `AuthenticationRequiredError` error with a `redirectUrl` that your app can use to re-authenticate the user. * * API operation: getSessionUser * API version: 1.3.2 * * @param options.configuration - The configuration object. * @param options.security - An optional dictionary of * security scheme names to the API key or cookie * used for authentication * with the ACP server. If not provided and this operation * is called in a browser, cookie authentication will be * used. * * @returns * A function that * takes {@link GetSessionUserParams}, * and returns a promise * that yields expected * success responses when resolved. * See {@link getSessionUserOp.responseDictionary} for * expected responses. Responses in the 2xx range will * be considered success responses. * Other responses will cause the promise to reject. */ export declare const getSessionUserP: { (options: GetSessionUserOpOptions): (args: GetSessionUserParams, optionsOverride?: GetSessionUserPOptions) => CancellablePromise; readonly descriptor: typeof getSessionUserOp; }; export declare type GetZonePOptions = GetZoneOpOptions; /** * Returns details for a zone. * * If successful, the result contains a `CKDBZoneResponse` object with the requested zone details. * * API operation: getZone * API version: 1.3.2 * * @param options.configuration - The configuration object. * @param options.security - An optional dictionary of * security scheme names to the API key or cookie * used for authentication * with the ACP server. If not provided and this operation * is called in a browser, cookie authentication will be * used. * * @returns * A function that * takes {@link GetZoneParams}, * and returns a promise * that yields expected * success responses when resolved. * See {@link getZoneOp.responseDictionary} for * expected responses. Responses in the 2xx range will * be considered success responses. * Other responses will cause the promise to reject. */ export declare const getZoneP: { (options: GetZoneOpOptions): (args: GetZoneParams, optionsOverride?: GetZonePOptions) => CancellablePromise; readonly descriptor: typeof getZoneOp; }; export declare type GetZonesPOptions = GetZonesOpOptions; /** * Returns a collection of zones. * * If successful, the returned result contains a `CKDBZonesResponse` object with an array of zones. If there are more zones than the server can return in one response, the server provides a continuation token to fetch the next set of zones. * * API operation: getZones * API version: 1.3.2 * * @param options.configuration - The configuration object. * @param options.security - An optional dictionary of * security scheme names to the API key or cookie * used for authentication * with the ACP server. If not provided and this operation * is called in a browser, cookie authentication will be * used. * * @returns * A function that * takes {@link GetZonesParams}, * and returns a promise * that yields expected * success responses when resolved. * See {@link getZonesOp.responseDictionary} for * expected responses. Responses in the 2xx range will * be considered success responses. * Other responses will cause the promise to reject. */ export declare const getZonesP: { (options: GetZonesOpOptions): (args: GetZonesParams, optionsOverride?: GetZonesPOptions) => CancellablePromise; readonly descriptor: typeof getZonesOp; }; export declare type ImportSchemaPOptions = ImportSchemaOpOptions; /** * Uploads a file that defines the new schema for the container. * * Changes the container’s schema using the uploaded text file for the environment specified. If the operation completes successfully, the server returns a success response. The text you provide in the file object must be in CloudKit Schema Language. To learn more about CloudKit Schema Language, see `https://developer.apple.com/documentation/cloudkit/integrating_a_text-based_schema_into_your_workflow`. Note that in most cases, you use `CKEnvironment.DEVELOPMENT` as the environment. Related: `exportSchema`, `validateSchema`. * * API operation: importSchema * API version: 1.3.2 * * @param options.configuration - The configuration object. * @param options.security - An optional dictionary of * security scheme names to the API key or cookie * used for authentication * with the ACP server. If not provided and this operation * is called in a browser, cookie authentication will be * used. * * @returns * A function that * takes {@link ImportSchemaParams}, * and returns a promise * that yields expected * success responses when resolved. * See {@link importSchemaOp.responseDictionary} for * expected responses. Responses in the 2xx range will * be considered success responses. * Other responses will cause the promise to reject. */ export declare const importSchemaP: { (options: ImportSchemaOpOptions): (args: ImportSchemaParams, optionsOverride?: ImportSchemaPOptions) => CancellablePromise; readonly descriptor: typeof importSchemaOp; }; export declare type LookupRecordsPOptions = LookupRecordsOpOptions; /** * Fetches multiple records by record name. * * If successful, the server returns a `CKDBLookupRecordsResponse` object, which contains an array of `CKDBRecordResult` objects. `CKDBRecordResult` can represent three types of records: existing, deleted, and error. You can verify that a returned record isn't missing or deleted by checking that the type is set to `existing`. * * API operation: lookupRecords * API version: 1.3.2 * * @param options.configuration - The configuration object. * @param options.security - An optional dictionary of * security scheme names to the API key or cookie * used for authentication * with the ACP server. If not provided and this operation * is called in a browser, cookie authentication will be * used. * * @returns * A function that * takes {@link LookupRecordsParams}, * and returns a promise * that yields expected * success responses when resolved. * See {@link lookupRecordsOp.responseDictionary} for * expected responses. Responses in the 2xx range will * be considered success responses. * Other responses will cause the promise to reject. */ export declare const lookupRecordsP: { (options: LookupRecordsOpOptions): (args: LookupRecordsParams, optionsOverride?: LookupRecordsPOptions) => CancellablePromise; readonly descriptor: typeof lookupRecordsOp; }; export declare type QueryRecordChangesPOptions = QueryRecordChangesOpOptions; /** * Returns records that changed since a specified sync token or since a zone was created. * * If successful, the response contains a `CKDBRecordChangesResponse` object with an array of `CKDBRecordResult` objects. `CKDBRecordResult` can represent three types of records: existing, deleted, and error. You can verify that a returned record isn't missing or deleted by checking that the type is set to `existing`. * * API operation: queryRecordChanges * API version: 1.3.2 * * @param options.configuration - The configuration object. * @param options.security - An optional dictionary of * security scheme names to the API key or cookie * used for authentication * with the ACP server. If not provided and this operation * is called in a browser, cookie authentication will be * used. * * @returns * A function that * takes {@link QueryRecordChangesParams}, * and returns a promise * that yields expected * success responses when resolved. * See {@link queryRecordChangesOp.responseDictionary} for * expected responses. Responses in the 2xx range will * be considered success responses. * Other responses will cause the promise to reject. */ export declare const queryRecordChangesP: { (options: QueryRecordChangesOpOptions): (args: QueryRecordChangesParams, optionsOverride?: QueryRecordChangesPOptions) => CancellablePromise; readonly descriptor: typeof queryRecordChangesOp; }; export declare type QueryRecordsPOptions = QueryRecordsOpOptions; /** * Returns a collection of records matching the provided query. * * If successful, the response contains a `CKDBRecordsResponse` object with an array of records. For details on the body parameter see `CKDBQueryRecordsRequestBody`. * * API operation: queryRecords * API version: 1.3.2 * * @param options.configuration - The configuration object. * @param options.security - An optional dictionary of * security scheme names to the API key or cookie * used for authentication * with the ACP server. If not provided and this operation * is called in a browser, cookie authentication will be * used. * * @returns * A function that * takes {@link QueryRecordsParams}, * and returns a promise * that yields expected * success responses when resolved. * See {@link queryRecordsOp.responseDictionary} for * expected responses. Responses in the 2xx range will * be considered success responses. * Other responses will cause the promise to reject. */ export declare const queryRecordsP: { (options: QueryRecordsOpOptions): (args: QueryRecordsParams, optionsOverride?: QueryRecordsPOptions) => CancellablePromise; readonly descriptor: typeof queryRecordsOp; }; export declare type ResetConfigToProductionPOptions = ResetConfigToProductionOpOptions; /** * Resets the container configuration to production. * * API operation: resetConfigToProduction * API version: 1.3.2 * * @param options.configuration - The configuration object. * @param options.security - An optional dictionary of * security scheme names to the API key or cookie * used for authentication * with the ACP server. If not provided and this operation * is called in a browser, cookie authentication will be * used. * * @returns * A function that * takes {@link ResetConfigToProductionParams}, * and returns a promise * that yields expected * success responses when resolved. * See {@link resetConfigToProductionOp.responseDictionary} for * expected responses. Responses in the 2xx range will * be considered success responses. * Other responses will cause the promise to reject. */ export declare const resetConfigToProductionP: { (options: ResetConfigToProductionOpOptions): (args: ResetConfigToProductionParams, optionsOverride?: ResetConfigToProductionPOptions) => CancellablePromise; readonly descriptor: typeof resetConfigToProductionOp; }; export declare type ResetToProductionPOptions = ResetToProductionOpOptions; /** * Resets the schema of the environment to production. * * Changes the schema of the container within the given environment to production and resets the environment. If the operation completes successfully, the server returns a success response. * * API operation: resetToProduction * API version: 1.3.2 * * @param options.configuration - The configuration object. * @param options.security - An optional dictionary of * security scheme names to the API key or cookie * used for authentication * with the ACP server. If not provided and this operation * is called in a browser, cookie authentication will be * used. * * @returns * A function that * takes {@link ResetToProductionParams}, * and returns a promise * that yields expected * success responses when resolved. * See {@link resetToProductionOp.responseDictionary} for * expected responses. Responses in the 2xx range will * be considered success responses. * Other responses will cause the promise to reject. */ export declare const resetToProductionP: { (options: ResetToProductionOpOptions): (args: ResetToProductionParams, optionsOverride?: ResetToProductionPOptions) => CancellablePromise; readonly descriptor: typeof resetToProductionOp; }; export declare type ResolveRecordPOptions = ResolveRecordOpOptions; /** * Fetches information about records given their shortGuid properties. * * If successful, the response contains a `CKDBResolveRecordResponse` object with the resolved record. * * API operation: resolveRecord * API version: 1.3.2 * * @param options.configuration - The configuration object. * @param options.security - An optional dictionary of * security scheme names to the API key or cookie * used for authentication * with the ACP server. If not provided and this operation * is called in a browser, cookie authentication will be * used. * * @returns * A function that * takes {@link ResolveRecordParams}, * and returns a promise * that yields expected * success responses when resolved. * See {@link resolveRecordOp.responseDictionary} for * expected responses. Responses in the 2xx range will * be considered success responses. * Other responses will cause the promise to reject. */ export declare const resolveRecordP: { (options: ResolveRecordOpOptions): (args: ResolveRecordParams, optionsOverride?: ResolveRecordPOptions) => CancellablePromise; readonly descriptor: typeof resolveRecordOp; }; export declare type UpdateRecordPOptions = UpdateRecordOpOptions; /** * Updates an existing record. * * If successful, the response contains a `CKDBRecordResponse` object with the updated record. If there are `assetType` fields in your record type, you must upload the assets prior to creating a record using the `createAssetUploadUrl` operation. If this record will be shared, you must set `createShortGuid` to `true` to create a globally unique identifier for this record that your app uses when a share participant accepts a shared record. * * API operation: updateRecord * API version: 1.3.2 * * @param options.configuration - The configuration object. * @param options.security - An optional dictionary of * security scheme names to the API key or cookie * used for authentication * with the ACP server. If not provided and this operation * is called in a browser, cookie authentication will be * used. * * @returns * A function that * takes {@link UpdateRecordParams}, * and returns a promise * that yields expected * success responses when resolved. * See {@link updateRecordOp.responseDictionary} for * expected responses. Responses in the 2xx range will * be considered success responses. * Other responses will cause the promise to reject. */ export declare const updateRecordP: { (options: UpdateRecordOpOptions): (args: UpdateRecordParams, optionsOverride?: UpdateRecordPOptions) => CancellablePromise; readonly descriptor: typeof updateRecordOp; }; export declare type ValidateSchemaPOptions = ValidateSchemaOpOptions; /** * Validates the uploaded schema file for the container. * * If the operation completes successfully, the response contains a result with a `CKDBValidateSchemaResponse` object. A schema validates successfully only if it has the correct syntax and if `importSchema` is able to import it successfully to the container. The text you provide in the file object must be in CloudKit Schema Language. To learn more about CloudKit Schema Language, see `https://developer.apple.com/documentation/cloudkit/integrating_a_text-based_schema_into_your_workflow`. Related: `exportSchema`, `importSchema`. * * API operation: validateSchema * API version: 1.3.2 * * @param options.configuration - The configuration object. * @param options.security - An optional dictionary of * security scheme names to the API key or cookie * used for authentication * with the ACP server. If not provided and this operation * is called in a browser, cookie authentication will be * used. * * @returns * A function that * takes {@link ValidateSchemaParams}, * and returns a promise * that yields expected * success responses when resolved. * See {@link validateSchemaOp.responseDictionary} for * expected responses. Responses in the 2xx range will * be considered success responses. * Other responses will cause the promise to reject. */ export declare const validateSchemaP: { (options: ValidateSchemaOpOptions): (args: ValidateSchemaParams, optionsOverride?: ValidateSchemaPOptions) => CancellablePromise; readonly descriptor: typeof validateSchemaOp; };