export type ColorTokenParts = {
    readonly kind: 'token';
    readonly token: string;
    readonly opacityPercent: number | null;
} | {
    readonly kind: 'raw';
    readonly value: string;
} | {
    readonly kind: 'invalid';
    readonly token: string;
};
export declare function parseOpacityPercent(source: string): number | null;
export declare function parseColorTokenParts(source: string): ColorTokenParts;
