import { SimpleRequestSigner, SecretCredentials } from './SimpleRequestSigner.js'; import SigUtils from '../sig-utils.js'; import { GigyaRequest, RequestParams } from '../RequestFactory.js'; import './AuthRequestSigner.js'; import './ISigner.js'; import '../interfaces/base-params.js'; interface SignedRequestParams { timestamp: number; nonce: number; sig: string; } type ParamsType = SecretCredentials & SignedRequestParams; type RequestType = GigyaRequest; declare class CredentialsSigner extends SimpleRequestSigner { protected _sigUtils: SigUtils; protected _httpMethod: 'post' | 'get'; constructor(_sigUtils: SigUtils, creds: SecretCredentials, _httpMethod?: 'post' | 'get'); sign(request: RequestType): void; protected createRequestSignature(secret: string, uri: string, requestParams: RequestParams): string; } export { CredentialsSigner };