import { ApiPdr } from '@cumulus/types/api/pdrs'; import { ApiGatewayLambdaHttpProxyResponse, InvokeApiFunction } from './types'; /** * Delete a PDR via the Cumulus API * * @param {Object} params - params * @param {string} params.prefix - the prefix configured for the stack * @param {string} params.pdrName - a PDR name * @param {Function} params.callback - async function to invoke the api lambda * that takes a prefix / user payload. Defaults * to cumulusApiClient.invokeApi * @returns {Promise} - the API response */ export declare const deletePdr: (params: { prefix: string; pdrName: string; callback?: InvokeApiFunction; }) => Promise; /** * Fetch a PDR from the Cumulus API * * @param {Object} params - params * @param {string} params.prefix - the prefix configured for the stack * @param {string} params.pdrName - a PDR name * @param {Function} params.callback - async function to invoke the api lambda * that takes a prefix / user payload. Defaults * to cumulusApiClient.invokeApi * @returns {Promise} - the PDR fetched by the API */ export declare const getPdr: (params: { prefix: string; pdrName: string; callback?: InvokeApiFunction; }) => Promise; /** * Fetch a list of pdrs from the Cumulus API * * @param {Object} params - params * @param {string} params.prefix - the prefix configured for the stack * @param {Function} params.callback - async function to invoke the api lambda * that takes a prefix / user payload. Defaults * to cumulusApiClient.invokeApi * @returns {Promise} - the pdr list fetched by the API */ export declare const getPdrs: (params: { prefix: string; query?: { [key: string]: string | string[] | undefined; fields?: string[] | undefined; } | undefined; callback?: InvokeApiFunction | undefined; }) => Promise; //# sourceMappingURL=pdrs.d.ts.map