export function resolveMirrorToPmo(input) {
    if (input.flagValue !== undefined) {
        return { enabled: input.flagValue, source: 'flag' };
    }
    if (input.envValue !== null && input.envValue !== undefined) {
        return { enabled: input.envValue, source: 'env' };
    }
    if (input.configValue !== null && input.configValue !== undefined) {
        return { enabled: input.configValue, source: 'config' };
    }
    return { enabled: true, source: 'default' };
}
//# sourceMappingURL=work-start.js.map