UNPKG

@snap/camera-kit

Version:
24 lines 1.29 kB
import _m0 from "protobufjs/minimal"; export declare const protobufPackage = "snapchat.cdp.cof"; export interface PerceptionSignals { scannedCategoryIds: string[]; } export declare const PerceptionSignals: { encode(message: PerceptionSignals, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): PerceptionSignals; fromPartial<I extends { scannedCategoryIds?: string[] | undefined; } & { scannedCategoryIds?: (string[] & string[] & Record<Exclude<keyof I["scannedCategoryIds"], keyof string[]>, never>) | undefined; } & Record<Exclude<keyof I, "scannedCategoryIds">, never>>(object: I): PerceptionSignals; }; type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]>; } : Partial<T>; type KeysOfUnion<T> = T extends T ? keyof T : never; export type Exact<P, I extends P> = P extends Builtin ? P : P & { [K in keyof P]: Exact<P[K], I[K]>; } & Record<Exclude<keyof I, KeysOfUnion<P>>, never>; export {}; //# sourceMappingURL=perception_provided_signals.d.ts.map