import type { OnlyItem } from './types.ts'; /** * Parses and validates a JSON string, returning an array of OnlyItems. * Throws a TypeError if the JSON is invalid or not an array of OnlyItems. * * Note: `variant` is not supported in `--only` items because variants cannot * be resolved statically from the Storybook built files. */ export declare function validateOnly(json: string): Array; /** * Parses a JSON string into an array of OnlyItems. Returns an empty array on * any parse error or if the value is not a valid array of OnlyItems. */ export declare function parseOnly(json?: string): Array; //# sourceMappingURL=parseOnly.d.ts.map