import { ComponentContextualFunctions, JobManifestModel, ManifestModel, RuntimeComponentSet } from '@squiz/component-lib';
/**
 * This is the object passed into the second
 * argument of a component function at run time
 */
export interface ComponentRuntimeContext {
    manifest: ManifestModel;
    set: RuntimeComponentSet;
    componentName: string;
    version: string;
    functionName: string;
    previewKey?: string;
    ctx: ComponentContextualFunctions;
    queryParameters?: any;
}
export interface JobRuntimeContext {
    manifest: JobManifestModel;
    jobName: string;
    version: string;
    functionName: string;
    ctx?: any;
}
