//@private
declare module "ui/styling/style-scope" {
    import view = require("ui/core/view");
    import cssSelector = require("ui/styling/css-selector");
    import cssParser = require("css");
    import keyframeAnimation = require("ui/animation/keyframe-animation");

    export class StyleScope {
        public css: string;
        public addCss(cssString: string, cssFileName: string): void;

        public static createSelectorsFromCss(css: string, cssFileName: string, keyframes: Object): cssSelector.CssSelector[];
        public static createSelectorsFromImports(tree: cssParser.SyntaxTree, keyframes: Object): cssSelector.CssSelector[];
        public ensureSelectors(): boolean;

        public applySelectors(view: view.View): void
        public getVisualStates(view: view.View): Object;

        public removeSelectors(selectorExpression: string);
        public getKeyframeAnimationWithName(animationName: string): keyframeAnimation.KeyframeAnimationInfo;
    }

    export function applyInlineSyle(view: view.View, style: string): void;
}
