From any state moneys made available for such purpose, the state of Washington, through the department of children, youth, and families, shall, in accordance with this chapter and applicable departmental rules, share in the cost of providing services to juveniles.