import { LutFormat } from './typings' type Options = { data: Uint8Array } export const parseLutFormat = ({ data }: Options): LutFormat => { if (!data) throw new Error('`data` or `filePath` is required') if (data) { // TODO: Determine format based on file header } return 'cube' }