import { S3Event, Context, Callback, S3EventRecord } from 'aws-lambda';

/**
 * Lambda handler function that processes S3 events and creates CloudFront invalidations
 */
declare const handler: (event: S3Event, _: Context, callback: Callback) => Promise<void>;
/**
 * Process individual S3 event record
 */
declare function processRecord(record: S3EventRecord, distributionId: string): Promise<{
    key: string;
    invalidated: boolean;
    paths?: string[];
    invalidationId?: string;
}>;

export { handler, processRecord };
