@snap/camera-kit
Version:
Camera Kit Web
29 lines • 1.45 kB
TypeScript
import _m0 from "protobufjs/minimal";
import { MediaSource } from "../../content/media_source";
import { Asset_AssetType } from "../../content/asset";
export declare const protobufPackage = "snapchat.cdp.cof";
export interface MdpMediaAttribution {
mediaSource: MediaSource;
assetType: Asset_AssetType;
}
export declare const MdpMediaAttribution: {
encode(message: MdpMediaAttribution, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MdpMediaAttribution;
fromPartial<I extends {
mediaSource?: MediaSource | undefined;
assetType?: Asset_AssetType | undefined;
} & {
mediaSource?: MediaSource | undefined;
assetType?: Asset_AssetType | undefined;
} & Record<Exclude<keyof I, keyof MdpMediaAttribution>, never>>(object: I): MdpMediaAttribution;
};
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=mdp_media_attribution.d.ts.map