import { S3Handler, type S3HandlerProps } from '@balena/pinejs-webresource-s3'; import type { WebResourceType as WebResource } from '@balena/sbvr-types'; export interface CloudFrontHandlerProps extends S3HandlerProps { cfPublicKeyId: string; cfSecretKey: string; cfDistributionDomain: string; } export declare class CloudFrontHandler extends S3Handler { private readonly cfSecretKey; private readonly cfPublicKeyId; private readonly cfDistributionDomain; constructor(cfConfig: CloudFrontHandlerProps); onPreRespond(webResource: WebResource): Promise; private cachedCfGetSignedUrl; private cfSignUrl; private getExpiryDate; private cfGetKeyFromHref; }