import { CredentialStoreType } from "../types/utility.js";
import "../types/index.js";

//#region src/utils/credential-store-utils.d.ts

/**
 * Get a lookup key for a credential store from retrieval params
 * @param retrievalParams - The retrieval params for the credential store
 * @param credentialStoreType - The type of credential store
 * @returns A lookup key for the credential store, used to call <CredentialStore>.get()
 */
declare function getCredentialStoreLookupKeyFromRetrievalParams({
  retrievalParams,
  credentialStoreType
}: {
  retrievalParams: Record<string, unknown>;
  credentialStoreType: keyof typeof CredentialStoreType;
}): string | null;
//#endregion
export { getCredentialStoreLookupKeyFromRetrievalParams };