createPendingSelection — @gj-kit/expo-media
A public function from @gj-kit/expo-media. The signature below is taken directly from the 0.6.1 release declaration.
Verified import example
Section titled “Verified import example”import { createPendingSelection } from '@gj-kit/expo-media';Signature, parameters, and return type
Section titled “Signature, parameters, and return type”/** * Build a pure staged-selection model: dedup by stable identity, a hard cap with per-item * rejection reasons, exactly-once preview release, HEIC/HEIF preview gating, and capture-time * extraction. State is an immutable ordered list owned by the host (React state, a store, a * plain variable) — the selection holds no items itself. * * The revoke-once registry is shared through a global symbol, so the guarantee holds per item * object across selection instances and across the package's entry copies (`.` and `./core`, * ESM and CJS) within one realm. * * @throws MediaError `config-invalid` when `max` is not a positive integer. */declare function createPendingSelection(options: PendingSelectionOptions): PendingSelection;This declaration is the source of truth for parameters, optionality, generics, return values, and public union/type contracts. Check the package golden path and this subpath’s import conditions for required environment, permission, and error boundaries before calling it.
Release context
Section titled “Release context”- Package:
@gj-kit/expo-media - Version:
0.6.1 - Public entry:
. - Source: GitHub