A schematic of a linear CCD package, here from a Toshiba TCD2719DG sensor. (Kind of like a very long DIL package with a slit on top for the sensor and only some of the pins actually present, others absent, in three groups on each side). Source: https://toshiba.semicon-storage.com/info/TCD2719DG_Web_Datasheet_en_20190306.pdf?did=65081&prodName=TCD2719DG
https://waldvogel.family/system/media_attachments/files/112/460/274/754/808/648/original/bc7150ea40cf2beb.jpg