export declare const PROFILE_IMAGE_SOURCE_LIMIT: number; export declare const PROFILE_IMAGE_OUTPUT_LIMIT: number; /** Decode/rotate/crop/re-encode once at the infrastructure boundary. */ export declare function squareProfileImage(base64: string): Promise; /** The URL comes only from an authenticated resource owner, never from upload callers. */ export declare function authorizedStorageURL(raw: string): URL; /** The path is an already authorized staged-file reference. Bound bytes even if the file changes. */ export declare function readProfileImage(path: string, signal?: AbortSignal): Promise; //# sourceMappingURL=profile-image.d.ts.map